From 24341de737c1891140f3c971329daadd31faff32 Mon Sep 17 00:00:00 2001 From: Yuri Gorshenin Date: Sat, 11 Apr 2015 13:42:58 +0300 Subject: [PATCH] Restored ASSERT. --- routing/nearest_road_pos_finder.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/routing/nearest_road_pos_finder.cpp b/routing/nearest_road_pos_finder.cpp index f166e8c48e..192410a7de 100644 --- a/routing/nearest_road_pos_finder.cpp +++ b/routing/nearest_road_pos_finder.cpp @@ -4,6 +4,8 @@ #include "../indexer/feature.hpp" +#include "../base/assert.hpp" + namespace routing { void NearestRoadPosFinder::AddInformationSource(const FeatureType & ft) @@ -34,6 +36,7 @@ void NearestRoadPosFinder::AddInformationSource(const FeatureType & ft) res.m_isOneway = m_vehicleModel->IsOneWay(ft); if (m_mwmId == MwmSet::INVALID_MWM_ID) m_mwmId = ft.GetID().m_mwm; + ASSERT_EQUAL(ft.GetID().m_mwm, m_mwmId, ()); } }