diff options
Diffstat (limited to 'routing/routing_tests/routing_algorithm.cpp')
-rw-r--r-- | routing/routing_tests/routing_algorithm.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/routing/routing_tests/routing_algorithm.cpp b/routing/routing_tests/routing_algorithm.cpp index ae32d60051..0bec7a4e12 100644 --- a/routing/routing_tests/routing_algorithm.cpp +++ b/routing/routing_tests/routing_algorithm.cpp @@ -192,9 +192,10 @@ TestAStarBidirectionalAlgo::Result TestAStarBidirectionalAlgo::CalculateRoute( RoutingResult<IRoadGraph::Vertex, IRoadGraph::Weight> & path) { RoadGraph roadGraph(graph); - base::Cancellable const cancellable; + base::Cancellable cancellable; Algorithm::Params params(roadGraph, startPos, finalPos, {} /* prevRoute */, - cancellable, {} /* onVisitJunctionFn */, {} /* checkLength */); + cancellable, {} /* onVisitJunctionFn */, + {} /* checkLength */); Algorithm::Result const res = Algorithm().FindPathBidirectional(params, path); return Convert(res); } |