diff options
author | Kirill Zhdanovich <kzhdanovich@gmail.com> | 2013-12-05 19:06:26 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:13:11 +0300 |
commit | a1bb8c1cde2c079ff2af1aa2975aa75be1f8efed (patch) | |
tree | 17a8b9eb9ae587209cd752e5d28bdf5b94df0f8f /map/address_finder.cpp | |
parent | 762ea1e2fcee3a41de132d227f15339486721969 (diff) |
address finder fix
Diffstat (limited to 'map/address_finder.cpp')
-rw-r--r-- | map/address_finder.cpp | 7 |
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; } |