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-28 11:51:05 +0300
committerLev Dragunov <l.dragunov@corp.mail.ru>2015-10-07 14:48:51 +0300
commit37d22d29373bf0c8b5dc8d08ea1075f640cccfab (patch)
tree85bebd843ae9ecb4edce2560bf712189a10d0e6d /routing/routing_session.hpp
parent513a61ea0c7868b636eebb705ea6097cdb6deea2 (diff)
More PR fixes.
Diffstat (limited to 'routing/routing_session.hpp')
-rw-r--r--routing/routing_session.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/routing/routing_session.hpp b/routing/routing_session.hpp
index ab12c7214d..858c922f81 100644
--- a/routing/routing_session.hpp
+++ b/routing/routing_session.hpp
@@ -127,8 +127,8 @@ private:
m2::PointD m_endPoint;
size_t m_lastWarnedSpeedCamera;
// TODO (ldragunov) Rewrite UI interop to message queue and avoid mutable.
- /// It is mutable, because a speed warning ring must be only one time per camera. So we need
- /// to modify it in a getter.
+ /// This field is mutable because it's modified in a constant getter. Note that the notification
+ /// about camera will be sent at most once.
mutable bool m_speedWarningSignal;
mutable threads::Mutex m_routeSessionMutex;