فهرست منبع

flow: minor changes

Michele Caini 3 سال پیش
والد
کامیت
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. */
     /*! @brief Clears the flow builder. */
     void clear() noexcept {
     void clear() noexcept {
-        index.first() = sync_on = {};
+        index.first() = {};
         vertices.clear();
         vertices.clear();
         deps.clear();
         deps.clear();
+        sync_on = {};
     }
     }
 
 
     /**
     /**