diff --git a/fluent/Callback.h b/fluent/Callback.h index f2082cb..620d7be 100644 --- a/fluent/Callback.h +++ b/fluent/Callback.h @@ -23,6 +23,7 @@ #include #include #include +#include #include "functional_unwrap.hpp" diff --git a/fluent/Continuable.h b/fluent/Continuable.h index dad40c6..076b12d 100644 --- a/fluent/Continuable.h +++ b/fluent/Continuable.h @@ -219,10 +219,10 @@ namespace detail /// Placeholder template auto any(_CTy&&... functionals) - -> decltype(some(1, std::declval<_CTy>()...)) + -> _ContinuableImpl& // FIXME gcc build &-> decltype(some(1, std::declval<_CTy>()...)) { // Equivalent to invoke `some` with count 1. - return some(1, std::forward<_CTy>(functionals)...); + return some<_CTy...>(1, std::forward<_CTy>(functionals)...); } /*