Browse Source

registry: don't pass the allocator to the fake storage

Michele Caini 3 years ago
parent
commit
9470133e33
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/entt/entity/registry.hpp

+ 1 - 1
src/entt/entity/registry.hpp

@@ -329,7 +329,7 @@ class basic_registry {
             return static_cast<const storage_for_type<Type> &>(*it->second);
         }
 
-        static storage_for_type<Type> placeholder{get_allocator()};
+        static storage_for_type<Type> placeholder{};
         return placeholder;
     }