2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-19 02:12:24 +00:00

do_invoke() renamed to apply()

This commit is contained in:
Oliver Kowalke
2015-12-06 21:19:44 +01:00
parent 2d0dbb4fa1
commit 2838e2d8e2
2 changed files with 5 additions and 5 deletions

View File

@@ -17,7 +17,7 @@
#include <boost/assert.hpp>
#include <boost/config.hpp>
#include <boost/context/detail/invoke.hpp>
#include <boost/context/detail/apply.hpp>
#include <boost/context/execution_context.hpp>
#include <boost/context/stack_context.hpp>
#include <boost/intrusive/list.hpp>
@@ -294,7 +294,7 @@ public:
}
auto fn = std::move( fn_);
auto tpl = std::move( tpl_);
boost::context::detail::do_invoke( fn, tpl);
boost::context::detail::apply( fn, tpl);
} catch ( fiber_interrupted const&) {
}
// terminate context

View File

@@ -12,7 +12,7 @@
#include <utility>
#include <boost/config.hpp>
#include <boost/context/detail/invoke.hpp>
#include <boost/context/detail/apply.hpp>
#include <boost/fiber/detail/config.hpp>
#include <boost/fiber/future/detail/task_base.hpp>
@@ -41,7 +41,7 @@ public:
void run( Args && ... args) override final {
try {
this->set_value(
boost::context::detail::do_invoke(
boost::context::detail::apply(
fn_, std::make_tuple( std::forward< Args >( args) ... ) ) );
} catch (...) {
this->set_exception( std::current_exception() );
@@ -78,7 +78,7 @@ public:
void run( Args && ... args) override final {
try {
boost::context::detail::do_invoke(
boost::context::detail::apply(
fn_, std::make_tuple( std::forward< Args >( args) ... ) );
this->set_value();
} catch (...) {