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:
authorSergey Yershov <syershov@maps.me>2019-03-07 17:36:16 +0300
committerGitHub <noreply@github.com>2019-03-07 17:36:16 +0300
commit1931f0f66d0312fa8c7379c7008c644dd039875d (patch)
treefa47612fe84406b66a610f2acd2c42d0d06ae749 /geocoder
parentdae21631f7648ba07a656b592dcf55fe16c27d2f (diff)
parent6db4a4996d7e25b2661a0f137b65140f49b9ee9c (diff)
Merge pull request #10490 from cc-engineering/geocoder.memory-optimization
[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);