diff options
Diffstat (limited to 'routing/routing_tests/index_graph_test.cpp')
-rw-r--r-- | routing/routing_tests/index_graph_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routing/routing_tests/index_graph_test.cpp b/routing/routing_tests/index_graph_test.cpp index 584cd35035..2e28334904 100644 --- a/routing/routing_tests/index_graph_test.cpp +++ b/routing/routing_tests/index_graph_test.cpp @@ -131,7 +131,7 @@ UNIT_TEST(EdgesTest) RoadGeometry::Points({{3.0, -1.0}, {3.0, 0.0}, {3.0, 1.0}})); traffic::TrafficCache const trafficCache; - IndexGraph graph(move(loader), CreateEstimatorForCar(trafficCache)); + IndexGraph graph(make_shared<Geometry>(move(loader)), CreateEstimatorForCar(trafficCache)); vector<Joint> joints; joints.emplace_back(MakeJoint({{0, 1}, {3, 1}})); // J0 |