Michele Caini 3 лет назад
Родитель
Сommit
9eafc0431d
1 измененных файлов с 2 добавлено и 1 удалено
  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 = {};
     }
 
     /**