diff options
author | Yuri Gorshenin <y@mmaps.me> | 2015-04-09 13:23:43 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:46:41 +0300 |
commit | 1be25a6fa7a31cc053049f0c071252e4deeefc01 (patch) | |
tree | 214dd2b6f7df896c3a2cf58a519db7a24f50c8eb /pedestrian_routing_benchmarks | |
parent | ee132481e51bb889e3bc5803838aead555c1dc15 (diff) |
Review fixes.
Diffstat (limited to 'pedestrian_routing_benchmarks')
-rw-r--r-- | pedestrian_routing_benchmarks/pedestrian_routing_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pedestrian_routing_benchmarks/pedestrian_routing_test.cpp b/pedestrian_routing_benchmarks/pedestrian_routing_test.cpp index 39efe56631..4e06167017 100644 --- a/pedestrian_routing_benchmarks/pedestrian_routing_test.cpp +++ b/pedestrian_routing_benchmarks/pedestrian_routing_test.cpp @@ -39,7 +39,7 @@ void TestTwoPoints(uint32_t featureIdStart, uint32_t segIdStart, uint32_t featur MwmSet::MwmId id = index.GetMwmIdByName(kMapName + DATA_FILE_EXTENSION); TEST_NOT_EQUAL(static_cast<size_t>(-1), id, ()); - router.SetRoadGraph(new routing::FeaturesRoadGraph(&index, id)); + router.SetRoadGraph(make_unique<routing::FeaturesRoadGraph>(&index, id)); pair<m2::PointD, m2::PointD> startBounds = GetPointsAroundSeg(index, id, featureIdStart, segIdStart); |