|
@@ -136,7 +136,7 @@ private:
|
|
|
* @tparam Entity A valid entity type.
|
|
* @tparam Entity A valid entity type.
|
|
|
* @tparam Allocator Type of allocator used to manage memory and elements.
|
|
* @tparam Allocator Type of allocator used to manage memory and elements.
|
|
|
*/
|
|
*/
|
|
|
-template<entity_like Entity, typename Allocator>
|
|
|
|
|
|
|
+template<typename Entity, typename Allocator>
|
|
|
class basic_sparse_set {
|
|
class basic_sparse_set {
|
|
|
using alloc_traits = std::allocator_traits<Allocator>;
|
|
using alloc_traits = std::allocator_traits<Allocator>;
|
|
|
static_assert(std::is_same_v<typename alloc_traits::value_type, Entity>, "Invalid value type");
|
|
static_assert(std::is_same_v<typename alloc_traits::value_type, Entity>, "Invalid value type");
|