registry: start to introduce the allocator (work in progress)

This commit is contained in:
Michele Caini
2022-09-06 09:43:34 +02:00
parent 2489a95dab
commit 67271e4672

View File

@@ -250,7 +250,8 @@ private:
template<typename Entity, typename Allocator>
class basic_registry {
using entity_traits = entt_traits<Entity>;
using basic_common_type = basic_sparse_set<Entity>;
using basic_common_type = basic_sparse_set<Entity, Allocator>;
using alloc_traits = typename std::allocator_traits<Allocator>;
template<typename Type>
using storage_for_type = typename storage_for<Type, Entity>::type;