Bladeren bron

sigh_storage_mixin: use the allocator as it ought to be

Michele Caini 3 jaren geleden
bovenliggende
commit
751e044ce2
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  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.