Fix style errors

This commit is contained in:
Richard Hodges
2020-07-04 08:12:10 +02:00
parent b84d8ad3d4
commit de1e63c597
11 changed files with 39 additions and 98 deletions
+2 -1
View File
@@ -304,7 +304,8 @@ public:
executor_type
get_executor() const noexcept
{
return net::get_associated_executor(h_, wg1_.get_executor());
return net::get_associated_executor(
h_, wg1_.get_executor());
}
/// Returns the handler associated with this object
@@ -67,19 +67,6 @@ public:
h_, this->get());
}
// The invocation hook is no longer defined because it customises behaviour
// without forwarding to a user's hook.
#if 0
template<class Function>
void
asio_handler_invoke(Function&& f,
bind_default_executor_wrapper* p)
{
net::dispatch(p->get_executor(), std::move(f));
}
#endif
// The allocation hooks are still defined because they trivially forward to
// user hooks. Forward here ensures that the user will get a compile error
// if they build their code with BOOST_ASIO_NO_DEPRECATED.