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:
authorLev Dragunov <l.dragunov@corp.mail.ru>2015-09-01 18:17:39 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 03:03:26 +0300
commit27e3be8682c5be35550ddd2263404e4933e909f6 (patch)
treed3f0970c44c891b145774cc8f7e0d12d2b91aecc /routing/router_delegate.cpp
parent1cb07eabec07b2315c8b26dd68566b8d105d867e (diff)
PR fixes
Diffstat (limited to 'routing/router_delegate.cpp')
-rw-r--r--routing/router_delegate.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/routing/router_delegate.cpp b/routing/router_delegate.cpp
index 80c1cac0f0..caaca88a63 100644
--- a/routing/router_delegate.cpp
+++ b/routing/router_delegate.cpp
@@ -31,6 +31,12 @@ void RouterDelegate::OnProgress(float progress) const
m_progressCallback(progress);
}
+void RouterDelegate::Reset()
+{
+ lock_guard<mutex> l(m_guard);
+ TimeoutCancellable::Reset();
+}
+
void RouterDelegate::OnPointCheck(m2::PointD const & point) const
{
lock_guard<mutex> l(m_guard);