diff options
author | Lev Dragunov <l.dragunov@corp.mail.ru> | 2015-08-11 10:11:30 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 03:00:36 +0300 |
commit | f7f442f46fcd61b306f2a7c5cadb781b3e89fdb3 (patch) | |
tree | 1f74291586a65a934548d682a2da81204e0ecb83 /routing | |
parent | b1f57c474fa36a3b219087de1d3f268f956a219a (diff) |
PR fixes
Diffstat (limited to 'routing')
-rw-r--r-- | routing/routing_tests/osrm_router_test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routing/routing_tests/osrm_router_test.cpp b/routing/routing_tests/osrm_router_test.cpp index 9d36d02bed..e05f7f271d 100644 --- a/routing/routing_tests/osrm_router_test.cpp +++ b/routing/routing_tests/osrm_router_test.cpp @@ -59,7 +59,8 @@ void TestMapping(InputDataT const & data, platform::CountryFile country("TestCountry"); platform::LocalCountryFile localFile(GetPlatform().WritableDir(), country, 0 /* version */); localFile.SyncWithDisk(); - platform::tests_support::ScopedMwm mapMwm(localFile.GetPath(MapOptions::Map)); + platform::tests_support::ScopedMwm mapMwm( + localFile.GetCountryFile().GetNameWithExt(MapOptions::Map)); static char const ftSegsPath[] = "test1.tmp"; platform::CountryIndexes::PreparePlaceOnDisk(localFile); |