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:
authorMikhail Gorbushin <m.gorbushin@corp.mail.ru>2019-10-28 14:21:46 +0300
committerTatiana Yan <tatiana.kondakova@gmail.com>2019-11-07 12:56:29 +0300
commit923dbbefee3b6009d1d204a0e0d9192b881068f2 (patch)
tree40b631d30c53c6b6841014c7136a2fa35f29ad35 /routing/turns_generator.cpp
parent0e4d9d6bdf2d8d7b8a7d8d9eb69d68ce30a9ed9e (diff)
[routing] Refactor RouterDelegate
Diffstat (limited to 'routing/turns_generator.cpp')
-rw-r--r--routing/turns_generator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/routing/turns_generator.cpp b/routing/turns_generator.cpp
index 70074de54d..e071713a5b 100644
--- a/routing/turns_generator.cpp
+++ b/routing/turns_generator.cpp
@@ -569,13 +569,13 @@ bool GetNextRoutePointIndex(IRoutingResult const & result, RoutePointIndex const
}
RouterResultCode MakeTurnAnnotation(IRoutingResult const & result, NumMwmIds const & numMwmIds,
- RouterDelegate const & delegate,
+ base::Cancellable const & cancellable,
vector<Junction> & junctions, Route::TTurns & turnsDir,
Route::TStreets & streets, vector<Segment> & segments)
{
LOG(LDEBUG, ("Shortest th length:", result.GetPathLength()));
- if (delegate.IsCancelled())
+ if (cancellable.IsCancelled())
return RouterResultCode::Cancelled;
// Annotate turns.
size_t skipTurnSegments = 0;