Przeglądaj źródła

flow: minor changes

Michele Caini 3 lat temu
rodzic
commit
9eafc0431d
1 zmienionych plików z 2 dodań i 1 usunięć
  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 = {};
     }
 
     /**