From d11c564f7f89e66b79c11dfbc1ed7f48dedcd8fe Mon Sep 17 00:00:00 2001 From: Denis Blank Date: Sun, 12 Jul 2015 22:44:23 +0200 Subject: [PATCH] test --- include/Continuable.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/Continuable.h b/include/Continuable.h index 9ac33f8..45962f7 100644 --- a/include/Continuable.h +++ b/include/Continuable.h @@ -440,8 +440,9 @@ namespace detail static_assert(std::is_rvalue_reference<_CTy&&>::value, "Given continuable must be passed as r-value!"); - std::function::type(_ATy...)> returning_function - = continuable_returner<_CTy, _ATy...>(std::forward<_CTy>(continuable)); + std::function::type(_ATy...)> returning_function; + + continuable_returner<_CTy, _ATy...> returner(std::forward<_CTy>(continuable)); return std::move(returning_function);