Browse Source

flow: correctly forward allocator to members

Michele Caini 2 years ago
parent
commit
8372292841
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/entt/graph/flow.hpp

+ 2 - 2
src/entt/graph/flow.hpp

@@ -134,8 +134,8 @@ public:
      */
     explicit basic_flow(const allocator_type &allocator)
         : index{0u, allocator},
-          vertices{},
-          deps{},
+          vertices{allocator},
+          deps{allocator},
           sync_on{} {}
 
     /*! @brief Default copy constructor. */