diff --git a/headers/Containers/DualkeyMap.hpp b/headers/Containers/DualkeyMap.hpp index 2d9421b..7a2e992 100644 --- a/headers/Containers/DualkeyMap.hpp +++ b/headers/Containers/DualkeyMap.hpp @@ -8,16 +8,17 @@ */ #ifndef GUARD_TOURMALINE_DUALKEYMAP_H #define GUARD_TOURMALINE_DUALKEYMAP_H +#include "Hashing.hpp" + #include #include #include namespace Tourmaline::Containers { -template class DualkeyMap { - constexpr static uint64_t EmptyKey = -1; DualkeyMap() { ValueList.reserve(baseReservation); HashList.reserve(baseReservation); diff --git a/headers/Containers/Hashing.hpp b/headers/Containers/Hashing.hpp index 24d1ae2..d402fe4 100644 --- a/headers/Containers/Hashing.hpp +++ b/headers/Containers/Hashing.hpp @@ -14,7 +14,7 @@ namespace Tourmaline::Containers { template -concept hashable = requires(T x) { +concept Hashable = requires(T x) { { std::hash{x}() } -> std::convertible_to; }; } // namespace Tourmaline::Containers