From 6db4a4996d7e25b2661a0f137b65140f49b9ee9c Mon Sep 17 00:00:00 2001 From: Anatoly Serdtcev Date: Thu, 7 Mar 2019 14:14:19 +0300 Subject: [PATCH] [geocoder] Add memory optimization --- geocoder/hierarchy.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(Type::Count) + 1> m_address; + std::array(Type::Count)> m_address; }; explicit Hierarchy(std::vector && entries, bool sorted);