From cbb5db9f99284d2c4ff4d807853c234a0ddfaf2c Mon Sep 17 00:00:00 2001 From: map-per Date: Fri, 12 Dec 2025 12:40:20 +0100 Subject: [PATCH] switch to hash map Signed-off-by: map-per --- libs/editor/feature_type_to_osm.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/editor/feature_type_to_osm.hpp b/libs/editor/feature_type_to_osm.hpp index 163c7abf9..c1cf903e3 100644 --- a/libs/editor/feature_type_to_osm.hpp +++ b/libs/editor/feature_type_to_osm.hpp @@ -2,7 +2,7 @@ #include #include -#include +#include namespace editor { @@ -23,10 +23,10 @@ public: void LoadFromStream(std::istream & s); std::vector const & OsmTagsFromType(uint32_t type) const; - std::map> const & GetStorage() const { return m_storage; } + std::unordered_map> const & GetStorage() const { return m_storage; } private: - std::map> m_storage; + std::unordered_map> m_storage; }; TypeToOSMTranslator const & GetOSMTranslator();