diff --git a/src/entt/graph/flow.hpp b/src/entt/graph/flow.hpp index d121f5006..89171e948 100644 --- a/src/entt/graph/flow.hpp +++ b/src/entt/graph/flow.hpp @@ -124,9 +124,10 @@ public: /*! @brief Clears the flow builder. */ void clear() noexcept { - index.first() = sync_on = {}; + index.first() = {}; vertices.clear(); deps.clear(); + sync_on = {}; } /**