skypjack před 3 měsíci
rodič
revize
da254e1552
1 změnil soubory, kde provedl 0 přidání a 2 odebrání
  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);
                 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());
             typename pool_container_type::mapped_type cpool = std::allocate_shared<storage_type>(get_allocator(), get_allocator());
-
             pools.emplace(id, cpool);
             pools.emplace(id, cpool);
             cpool->bind(*this);
             cpool->bind(*this);