diff --git a/signal.hpp b/signal.hpp index 17e7dfde..93da480e 100644 --- a/signal.hpp +++ b/signal.hpp @@ -32,7 +32,7 @@ namespace util { R operator() (T first, T last, Args&&... args) { while (first != last) - if (!(*first++)(std::forward (args)...)) + if (!(*first++)(args...)) return false; return true; @@ -47,7 +47,7 @@ namespace util { R operator() (T first, T last, Args&&... args) { while (first != last) - if ((*first++)(std::forward (args)...)) + if ((*first++)(args...)) return true; return false; @@ -62,7 +62,7 @@ namespace util { R operator() (T first, T last, Args&&... args) { while (first != last) { - (*first++)(std::forward (args)...); + (*first++)(args...); } } };