diff --git a/src/entt/container/dense_set.hpp b/src/entt/container/dense_set.hpp index 836fcf049..9383f1d19 100644 --- a/src/entt/container/dense_set.hpp +++ b/src/entt/container/dense_set.hpp @@ -231,6 +231,7 @@ class dense_set { using node_type = std::pair; using alloc_traits = std::allocator_traits; + static_assert(std::is_same_v); using sparse_container_type = std::vector>; using packed_container_type = std::vector>;