Browse Source

process: avoid C varargs functions

Michele Caini 1 year ago
parent
commit
e786a3b93d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/entt/process/process.hpp

+ 2 - 1
src/entt/process/process.hpp

@@ -110,7 +110,8 @@ class process {
         static_cast<Target *>(this)->aborted();
         static_cast<Target *>(this)->aborted();
     }
     }
 
 
-    void next(...) const noexcept {}
+    template<typename... Args>
+    void next(Args &&...) const noexcept {}
 
 
 protected:
 protected:
     /**
     /**