From b4eeb2b60555b361cfdac36224028aa02f5d9f83 Mon Sep 17 00:00:00 2001 From: Denis Blank Date: Tue, 16 Jun 2015 18:39:19 +0200 Subject: [PATCH] gcc build ... fix --- fluent/Callback.h | 1 + fluent/Continuable.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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)...); } /*