Преглед изворни кода

sigh_storage_mixin: use the allocator as it ought to be

Michele Caini пре 3 година
родитељ
комит
751e044ce2
1 измењених фајлова са 3 додато и 3 уклоњено
  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)
     explicit sigh_storage_mixin(const allocator_type &allocator)
         : Type{allocator},
         : Type{allocator},
           owner{},
           owner{},
-          construction{},
-          destruction{},
-          update{} {}
+          construction{allocator},
+          destruction{allocator},
+          update{allocator} {}
 
 
     /**
     /**
      * @brief Move constructor.
      * @brief Move constructor.