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-10-01 17:39:20 +0300
committerLev Dragunov <l.dragunov@corp.mail.ru>2015-10-07 14:49:51 +0300
commitd9f39989f3ef06ad60f7a2463258a0765b4d810d (patch)
tree07df279e122a1f2f73a7d3c0876b59d8be8bfb3e /routing/routing_session.hpp
parent41be2c71da413d654fdff23f23edc2c4b9e02cbc (diff)
PR fixes.
Diffstat (limited to 'routing/routing_session.hpp')
-rw-r--r--routing/routing_session.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/routing/routing_session.hpp b/routing/routing_session.hpp
index 04b3fef8c5..35ed0fe38f 100644
--- a/routing/routing_session.hpp
+++ b/routing/routing_session.hpp
@@ -120,7 +120,7 @@ private:
/// Returns a nearest speed camera record on your way and distance to it.
/// Returns kInvalidSpeedCameraDistance if there is no cameras on your way.
- double GetCurrentCam(SpeedCameraRestriction & camera, Index const & index);
+ double GetDistanceToCurrentCamM(SpeedCameraRestriction & camera, Index const & index);
/// RemoveRoute removes m_route and resets route attributes (m_state, m_lastDistance, m_moveAwayCounter).
void RemoveRoute();
@@ -131,8 +131,8 @@ private:
Route m_route;
State m_state;
m2::PointD m_endPoint;
- size_t m_lastWarnedSpeedCamera;
- size_t m_lastCheckedCamera;
+ size_t m_lastWarnedSpeedCameraIndex;
+ size_t m_lastCheckedCameraIndex;
// 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.