Răsfoiți Sursa

flow: correctly forward allocator to members

Michele Caini 2 ani în urmă
părinte
comite
8372292841
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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)
     explicit basic_flow(const allocator_type &allocator)
         : index{0u, allocator},
         : index{0u, allocator},
-          vertices{},
-          deps{},
+          vertices{allocator},
+          deps{allocator},
           sync_on{} {}
           sync_on{} {}
 
 
     /*! @brief Default copy constructor. */
     /*! @brief Default copy constructor. */