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);