Explorar el Código

flow: correctly forward allocator to members

Michele Caini hace 2 años
padre
commit
8372292841
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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. */