Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'routing/routing_tests/routing_algorithm.cpp')
-rw-r--r--routing/routing_tests/routing_algorithm.cpp5
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);
}