Skip to content

Commit

Permalink
Remove an extra async apply forwarding that is overloaded already
Browse files Browse the repository at this point in the history
  • Loading branch information
biddisco committed Feb 24, 2018
1 parent a747d7d commit d2540c3
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions hpx/lcos/local/futures_factory.hpp
Expand Up @@ -183,13 +183,7 @@ namespace hpx { namespace lcos { namespace local
typedef typename Base::future_base_type future_base_type;
future_base_type this_(this);

if (exec_) {
parallel::execution::post(*exec_,
util::deferred_call(
&base_type::run_impl, std::move(this_)));
return threads::invalid_thread_id;
}
else if (policy == launch::fork) {
if (policy == launch::fork) {
return threads::register_thread_nullary(
util::deferred_call(
&base_type::run_impl, std::move(this_)),
Expand Down

0 comments on commit d2540c3

Please sign in to comment.