From 4784ccf3979f683cc78bda7e4532d28d5ea09ffc Mon Sep 17 00:00:00 2001 From: Vladimir Byko-Ianko Date: Wed, 8 Jul 2015 15:37:07 +0300 Subject: Turn notification enhancement. Skipping the first turn notification if it's unnecessary. Some refactoring in turn notification unit tests. --- platform/location.hpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'platform/location.hpp') diff --git a/platform/location.hpp b/platform/location.hpp index 868299f057..d6dd544b52 100644 --- a/platform/location.hpp +++ b/platform/location.hpp @@ -94,6 +94,13 @@ namespace location class FollowingInfo { public: + FollowingInfo() + : m_turn(routing::turns::TurnDirection::NoTurn), + m_exitNum(0), + m_time(0) + { + } + // SingleLaneInfoClient is used for passing information about a lane to client platforms such as // Android, iOS and so on. struct SingleLaneInfoClient -- cgit v1.2.3