Explorar el Código

flow: minor changes

Michele Caini hace 3 años
padre
commit
9eafc0431d
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/entt/graph/flow.hpp

+ 2 - 1
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 = {};
     }
 
     /**