Răsfoiți Sursa

registry: cleanup

skypjack 3 luni în urmă
părinte
comite
da254e1552
1 a modificat fișierele cu 0 adăugiri și 2 ștergeri
  1. 0 2
      src/entt/entity/registry.hpp

+ 0 - 2
src/entt/entity/registry.hpp

@@ -259,9 +259,7 @@ class basic_registry {
                 return static_cast<storage_type &>(*it->second);
             }
 
-            using alloc_type = typename storage_type::allocator_type;
             typename pool_container_type::mapped_type cpool = std::allocate_shared<storage_type>(get_allocator(), get_allocator());
-
             pools.emplace(id, cpool);
             cpool->bind(*this);