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-11-03 15:47:56 +0300
committerLev Dragunov <l.dragunov@corp.mail.ru>2015-11-03 15:47:56 +0300
commitd17820b9d7791bcc97c2b87f3d1b7d1f779fa516 (patch)
tree1aee9af4ae8290bb3d560685a96bcdc9fce995ea /routing/routing_session.hpp
parent488a71d5d588bddf563314d9b3b54e3988e427a6 (diff)
Router freezing fix.
Diffstat (limited to 'routing/routing_session.hpp')
-rw-r--r--routing/routing_session.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/routing/routing_session.hpp b/routing/routing_session.hpp
index a8e5c971e3..6d444301ef 100644
--- a/routing/routing_session.hpp
+++ b/routing/routing_session.hpp
@@ -148,6 +148,8 @@ private:
m2::PointD m_endPoint;
size_t m_lastWarnedSpeedCameraIndex;
SpeedCameraRestriction m_lastCheckedCamera;
+ size_t m_lastCheckedSpeedCameraIndex;
+
// TODO (ldragunov) Rewrite UI interop to message queue and avoid mutable.
/// This field is mutable because it's modified in a constant getter. Note that the notification
/// about camera will be sent at most once.