forked from organicmaps/organicmaps
Fixed warn: suggest parentheses around comparison in operand of ‘==’
This commit is contained in:
parent
e21efb9d60
commit
1143dd2b8a
1 changed files with 2 additions and 2 deletions
|
@ -309,8 +309,8 @@ UNIT_TEST(FindPathManhattan)
|
|||
? finish.m_projections[0].m_segment.GetFeatureId()
|
||||
: finish.m_projections[0].m_segment.GetFeatureId() - kCitySize;
|
||||
|
||||
if (start.m_projections[0].m_segment.GetFeatureId() < kCitySize ==
|
||||
finish.m_projections[0].m_segment.GetFeatureId() < kCitySize)
|
||||
if ((start.m_projections[0].m_segment.GetFeatureId() < kCitySize) ==
|
||||
(finish.m_projections[0].m_segment.GetFeatureId() < kCitySize))
|
||||
{
|
||||
uint32_t segDelta = AbsDelta(start.m_projections[0].m_segment.GetSegmentIdx(),
|
||||
finish.m_projections[0].m_segment.GetSegmentIdx());
|
||||
|
|
Loading…
Add table
Reference in a new issue