From 7c48c18d3db5f753fc22951cebf063aec1a68410 Mon Sep 17 00:00:00 2001 From: Oliver Kowalke Date: Mon, 29 Jun 2015 17:13:17 +0200 Subject: [PATCH] add return value specification to lambda --- include/boost/fiber/fiber_context.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/fiber/fiber_context.hpp b/include/boost/fiber/fiber_context.hpp index 6037d83c..2137137f 100644 --- a/include/boost/fiber/fiber_context.hpp +++ b/include/boost/fiber/fiber_context.hpp @@ -120,7 +120,7 @@ private: flags_( 0), splk_(), ctx_( palloc, salloc, - [=,fn=std::forward< Fn >( fn_),tpl=std::forward< Tpl >( tpl_)] () mutable { + [=,fn=std::forward< Fn >( fn_),tpl=std::forward< Tpl >( tpl_)] () mutable -> decltype( auto) { try { BOOST_ASSERT( is_running() ); detail::invoke( fn,