diff options
author | Sergey Yershov <syershov@maps.me> | 2019-03-07 17:36:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-07 17:36:16 +0300 |
commit | 1931f0f66d0312fa8c7379c7008c644dd039875d (patch) | |
tree | fa47612fe84406b66a610f2acd2c42d0d06ae749 /geocoder | |
parent | dae21631f7648ba07a656b592dcf55fe16c27d2f (diff) | |
parent | 6db4a4996d7e25b2661a0f137b65140f49b9ee9c (diff) |
Merge pull request #10490 from cc-engineering/geocoder.memory-optimization
[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); |