diff --git a/src/Collections/StringViewDictionary.hpp b/src/Collections/StringViewDictionary.hpp index 5cbba4d..386bc18 100644 --- a/src/Collections/StringViewDictionary.hpp +++ b/src/Collections/StringViewDictionary.hpp @@ -10,7 +10,7 @@ namespace ArbUt { /// @brief Wrapper around unordered_map, allowing safer access and adding several helper methods. template class StringViewDictionary { - private: + public: struct StringViewHash { using hash_type = std::hash; using is_transparent = void; @@ -21,11 +21,11 @@ namespace ArbUt { }; using map_type = typename std::unordered_map>; - map_type _map; - using iterator = typename map_type::iterator; using const_iterator = typename map_type::const_iterator; + private: + map_type _map; public: /// @brief The type used for the indexer of the dictionary. typedef StringView keyType;