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:
Diffstat (limited to 'routing/turns.cpp')
-rw-r--r--routing/turns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/routing/turns.cpp b/routing/turns.cpp
index e77c4dd65b..810720eb8a 100644
--- a/routing/turns.cpp
+++ b/routing/turns.cpp
@@ -132,7 +132,7 @@ FeatureID const & UniNodeId::GetFeature() const
bool UniNodeId::IsCorrect() const
{
return m_type == Type::Mwm &&
- (m_forward && m_startSegId <= m_endSegId || !m_forward && m_endSegId <= m_startSegId);
+ ((m_forward && m_startSegId <= m_endSegId) || (!m_forward && m_endSegId <= m_startSegId));
}
string DebugPrint(UniNodeId::Type type)