diff options
author | Mikhail Gorbushin <m.gorbushin@corp.mail.ru> | 2019-10-28 14:21:46 +0300 |
---|---|---|
committer | Tatiana Yan <tatiana.kondakova@gmail.com> | 2019-11-07 12:56:29 +0300 |
commit | 923dbbefee3b6009d1d204a0e0d9192b881068f2 (patch) | |
tree | 40b631d30c53c6b6841014c7136a2fa35f29ad35 /routing/routing_tests/routing_algorithm.cpp | |
parent | 0e4d9d6bdf2d8d7b8a7d8d9eb69d68ce30a9ed9e (diff) |
[routing] Refactor RouterDelegate
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); } |