Explorar o código

sigh_storage_mixin: use the allocator as it ought to be

Michele Caini %!s(int64=3) %!d(string=hai) anos
pai
achega
751e044ce2
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/entt/entity/sigh_storage_mixin.hpp

+ 3 - 3
src/entt/entity/sigh_storage_mixin.hpp

@@ -62,9 +62,9 @@ public:
     explicit sigh_storage_mixin(const allocator_type &allocator)
         : Type{allocator},
           owner{},
-          construction{},
-          destruction{},
-          update{} {}
+          construction{allocator},
+          destruction{allocator},
+          update{allocator} {}
 
     /**
      * @brief Move constructor.