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:
authorMaxim Pimenov <m@maps.me>2016-05-27 19:40:55 +0300
committerMaxim Pimenov <m@maps.me>2016-05-31 14:54:46 +0300
commitf672cb0b8227ddafcd6b271724dda3e05df9bfef (patch)
tree423ac795cf5da4a96136416827e943040f19a1b5 /search/reverse_geocoder.cpp
parent59f40d7669598a229ffa4f6269e17234f9af9506 (diff)
[search] Got rid of the v2 directory and namespace.
Diffstat (limited to 'search/reverse_geocoder.cpp')
-rw-r--r--search/reverse_geocoder.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/search/reverse_geocoder.cpp b/search/reverse_geocoder.cpp
index d91089c491..c2796138dc 100644
--- a/search/reverse_geocoder.cpp
+++ b/search/reverse_geocoder.cpp
@@ -1,6 +1,6 @@
#include "reverse_geocoder.hpp"
-#include "search/v2/mwm_context.hpp"
+#include "search/mwm_context.hpp"
#include "indexer/feature.hpp"
#include "indexer/feature_algo.hpp"
@@ -50,7 +50,7 @@ void ReverseGeocoder::GetNearbyStreets(MwmSet::MwmId const & id, m2::PointD cons
MwmSet::MwmHandle mwmHandle = m_index.GetMwmHandleById(id);
if (mwmHandle.IsAlive())
{
- search::v2::MwmContext(move(mwmHandle)).ForEachFeature(rect, addStreet);
+ search::MwmContext(move(mwmHandle)).ForEachFeature(rect, addStreet);
sort(streets.begin(), streets.end(), my::LessBy(&Street::m_distanceMeters));
}
}
@@ -199,7 +199,7 @@ bool ReverseGeocoder::HouseTable::Get(FeatureID const & fid, uint32_t & streetIn
LOG(LWARNING, ("MWM", fid, "is dead"));
return false;
}
- m_table = search::v2::HouseToStreetTable::Load(*m_handle.GetValue<MwmValue>());
+ m_table = search::HouseToStreetTable::Load(*m_handle.GetValue<MwmValue>());
}
return m_table->Get(fid.m_index, streetIndex);