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:
authorAnatoly Serdtcev <serdtcev@maps.me>2019-03-07 14:14:19 +0300
committerAnatoly Serdtcev <serdtcev@maps.me>2019-03-07 14:14:19 +0300
commit6db4a4996d7e25b2661a0f137b65140f49b9ee9c (patch)
tree0d986892bda6c8f405f61c7a2a45b8812ab933bf /geocoder
parent8fdaabf36155e4631a25feb330798229dda8bc77 (diff)
[geocoder] Add memory optimization
Diffstat (limited to 'geocoder')
-rw-r--r--geocoder/hierarchy.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/geocoder/hierarchy.hpp b/geocoder/hierarchy.hpp
index 8579db75fb..e4c92933cd 100644
--- a/geocoder/hierarchy.hpp
+++ b/geocoder/hierarchy.hpp
@@ -72,7 +72,7 @@ public:
Type m_type = Type::Count;
// The address fields of this entry, one per Type.
- std::array<Tokens, static_cast<size_t>(Type::Count) + 1> m_address;
+ std::array<Tokens, static_cast<size_t>(Type::Count)> m_address;
};
explicit Hierarchy(std::vector<Entry> && entries, bool sorted);