Revert "Tidy up calls to post()"

This reverts commit 5eaa2be85e.
This commit is contained in:
Vinnie Falco committed 2018-03-22 20:13:39 -07:00
1 parent 4d660a5e54
commit 12cc10f8bb
11 files changed
+56 -31

No files matched your search

+3
View File
@@ -140,6 +140,7 @@ operator()()
{
BOOST_ASSERT(! f.invoked);
return boost::asio::post(
s_.get_executor(),
bind_handler(std::move(*this), ec, 0));
}
if(f.invoked)
@@ -152,6 +153,7 @@ operator()()
BOOST_ASSERT(sr_.is_done());
}
return boost::asio::post(
s_.get_executor(),
bind_handler(std::move(*this), ec, 0));
}
@@ -282,6 +284,7 @@ operator()(
{
state_ = 1;
return boost::asio::post(
s_.get_executor(),
bind_handler(std::move(*this), ec, 0));
}
state_ = 2;