2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-17 13:42:21 +00:00

add return value specification to lambda

This commit is contained in:
Oliver Kowalke
2015-06-29 17:13:17 +02:00
parent afe7714c61
commit 7c48c18d3d

View File

@@ -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,