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:
authorvng <viktor.govako@gmail.com>2014-10-05 20:13:01 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:29:30 +0300
commitb09c040bab1042e47a1a499c42161241fb8f7688 (patch)
tree2eb9aa47b6a69612d260d7f60b494f4871901134 /platform/location.hpp
parenta69be8e1038a4c3bf48b78af1d89d4e3f0a313e6 (diff)
Cross-platform logic of choosing bearing between GPS and Compass, according to the current use case.
Diffstat (limited to 'platform/location.hpp')
-rw-r--r--platform/location.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/location.hpp b/platform/location.hpp
index 36a751b833..7dc7eb6851 100644
--- a/platform/location.hpp
+++ b/platform/location.hpp
@@ -47,7 +47,7 @@ namespace location
double m_speed; //!< metres per second
//bool HasAltitude() const { return m_verticalAccuracy >= 0.0; }
- //bool HasBearing() const { return m_bearing >= 0.0; }
+ bool HasBearing() const { return m_bearing >= 0.0; }
bool HasSpeed() const { return m_speed >= 0.0; }
};