diff options
author | Anatoly Serdtcev <serdtcev@maps.me> | 2019-03-07 14:14:19 +0300 |
---|---|---|
committer | Anatoly Serdtcev <serdtcev@maps.me> | 2019-03-07 14:14:19 +0300 |
commit | 6db4a4996d7e25b2661a0f137b65140f49b9ee9c (patch) | |
tree | 0d986892bda6c8f405f61c7a2a45b8812ab933bf /geocoder | |
parent | 8fdaabf36155e4631a25feb330798229dda8bc77 (diff) |
[geocoder] Add memory optimization
Diffstat (limited to 'geocoder')
-rw-r--r-- | geocoder/hierarchy.hpp | 2 |
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); |