diff options
author | Yuri Gorshenin <y@maps.me> | 2015-04-27 16:42:27 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:47:19 +0300 |
commit | ebcbdafa351cc333f958dac2bedd3876d399f95c (patch) | |
tree | 70f33e09821fbb12c3fa0970220cc133ec5e8dd0 /pedestrian_routing_benchmarks | |
parent | 4687d0dd3da2dc7328e52115f1d315c869967260 (diff) |
Implemented new mwm info table.
Diffstat (limited to 'pedestrian_routing_benchmarks')
-rw-r--r-- | pedestrian_routing_benchmarks/pedestrian_routing_benchmarks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pedestrian_routing_benchmarks/pedestrian_routing_benchmarks.cpp b/pedestrian_routing_benchmarks/pedestrian_routing_benchmarks.cpp index a37b8dc9b7..288c0d13a5 100644 --- a/pedestrian_routing_benchmarks/pedestrian_routing_benchmarks.cpp +++ b/pedestrian_routing_benchmarks/pedestrian_routing_benchmarks.cpp @@ -37,7 +37,7 @@ void TestTwoPoints(uint32_t featureIdStart, uint32_t segIdStart, uint32_t featur UNUSED_VALUE(index.RegisterMap(kMapName + DATA_FILE_EXTENSION)); TEST(index.IsLoaded(kMapName), ()); MwmSet::MwmId id = index.GetMwmIdByName(kMapName + DATA_FILE_EXTENSION); - TEST_NOT_EQUAL(static_cast<size_t>(-1), id, ()); + TEST(id.IsAlive(), ()); router.SetRoadGraph(make_unique<routing::FeaturesRoadGraph>(&index, id)); |