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:
authorKirill Zhdanovich <kzhdanovich@gmail.com>2013-12-05 19:06:26 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:13:11 +0300
commita1bb8c1cde2c079ff2af1aa2975aa75be1f8efed (patch)
tree17a8b9eb9ae587209cd752e5d28bdf5b94df0f8f /map/address_finder.cpp
parent762ea1e2fcee3a41de132d227f15339486721969 (diff)
address finder fix
Diffstat (limited to 'map/address_finder.cpp')
-rw-r--r--map/address_finder.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/map/address_finder.cpp b/map/address_finder.cpp
index adb163a84f..72772efa63 100644
--- a/map/address_finder.cpp
+++ b/map/address_finder.cpp
@@ -182,7 +182,7 @@ namespace
public:
class TypeChecker
{
- vector<uint32_t> m_localities, m_streets, m_buildings;
+ vector<uint32_t> m_localities, m_streets;
int m_localityScale;
template <size_t count, size_t ind>
@@ -234,10 +234,6 @@ namespace
{ "highway", "service" }
};
- char const * arrBuilding[][1] = {
- { "building" }
- };
-
FillMatch(arrLocalities, m_localities);
m_localityScale = 0;
for (size_t i = 0; i < m_localities.size(); ++i)
@@ -247,7 +243,6 @@ namespace
}
FillMatch(arrStreet, m_streets);
- FillMatch(arrBuilding, m_buildings);
}
int GetLocalitySearchScale() const { return m_localityScale; }