Просмотр исходного кода

sigh_storage_mixin: use the allocator as it ought to be

Michele Caini 3 лет назад
Родитель
Сommit
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)
         : Type{allocator},
           owner{},
-          construction{},
-          destruction{},
-          update{} {}
+          construction{allocator},
+          destruction{allocator},
+          update{allocator} {}
 
     /**
      * @brief Move constructor.