Makes usings of StringViewDictionary public
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
f8ba0b32b6
commit
eec26f2c12
|
@ -10,7 +10,7 @@
|
|||
namespace ArbUt {
|
||||
/// @brief Wrapper around unordered_map, allowing safer access and adding several helper methods.
|
||||
template <class ValueT> class StringViewDictionary {
|
||||
private:
|
||||
public:
|
||||
struct StringViewHash {
|
||||
using hash_type = std::hash<StringView>;
|
||||
using is_transparent = void;
|
||||
|
@ -21,11 +21,11 @@ namespace ArbUt {
|
|||
};
|
||||
|
||||
using map_type = typename std::unordered_map<StringView, ValueT, StringViewHash, std::equal_to<>>;
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue