Sfoglia il codice sorgente

flow: minor changes

Michele Caini 3 anni fa
parent
commit
8dbf00ad3a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/entt/graph/flow.hpp

+ 1 - 1
src/entt/graph/flow.hpp

@@ -164,7 +164,7 @@ public:
      * @brief Turns the current task into a sync point.
      * @brief Turns the current task into a sync point.
      * @return This flow builder.
      * @return This flow builder.
      */
      */
-    basic_flow& sync() {
+    basic_flow &sync() {
         ENTT_ASSERT(index.first() < vertices.size(), "Invalid node");
         ENTT_ASSERT(index.first() < vertices.size(), "Invalid node");
         sync_on = index.first();
         sync_on = index.first();