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:
authorVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2015-01-29 15:31:45 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:36:51 +0300
commit868359ba1f2d4b68eecee102c3a768f76892afca (patch)
tree8fe0e1449cc75c725e4fb50a5441d5e5304310c3 /map/location_state.hpp
parentfcd1a968808575d3ca24f6e3f081f00447706229 (diff)
Some changes after Colleagues comments
Diffstat (limited to 'map/location_state.hpp')
-rw-r--r--map/location_state.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/map/location_state.hpp b/map/location_state.hpp
index 5fe36331fa..ed0111d0bb 100644
--- a/map/location_state.hpp
+++ b/map/location_state.hpp
@@ -31,7 +31,6 @@ namespace location
size_t m_indexInRoute;
bool m_isPositionMatched;
- RouteMatchingInfo(RouteMatchingInfo const &) = delete;
public:
RouteMatchingInfo() : m_matchedPosition(0., 0.), m_indexInRoute(0), m_isPositionMatched(false) {}
void SetRouteMatchingInfo(m2::PointD const & matchedPosition, size_t indexInRoute)
@@ -41,7 +40,7 @@ namespace location
m_isPositionMatched = true;
}
void ResetRouteMatchingInfo() { m_isPositionMatched = false; }
- bool hasRouteMatchingInfo() const { return m_isPositionMatched; }
+ bool HasRouteMatchingInfo() const { return m_isPositionMatched; }
size_t GetIndexInRoute() const { return m_indexInRoute; }
m2::PointD GetPosition() const { return m_matchedPosition; }
};