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

use do_invoke()

This commit is contained in:
Oliver Kowalke
2015-09-28 18:47:59 +02:00
parent a48d3a44fa
commit 68f8053059
2 changed files with 3 additions and 3 deletions

View File

@@ -273,7 +273,7 @@ public:
ctx();
// check for unwinding
if ( ! unwinding_requested() ) {
boost::context::detail::invoke_helper( fn, std::move( tpl) );
boost::context::detail::do_invoke( fn, std::move( tpl) );
}
} catch ( fiber_interrupted const&) {
} catch ( forced_unwind const&) {

View File

@@ -40,7 +40,7 @@ public:
void run( Args && ... args) {
try {
this->set_value(
boost::context::detail::invoke_helper(
boost::context::detail::do_invoke(
std::move( fn_), std::make_tuple( std::forward< Args >( args) ... ) ) );
} catch (...) {
this->set_exception( std::current_exception() );
@@ -77,7 +77,7 @@ public:
void run( Args && ... args) {
try {
boost::context::detail::invoke_helper(
boost::context::detail::do_invoke(
std::move( fn_), std::make_tuple( std::forward< Args >( args) ... ) );
this->set_value();
} catch (...) {