forked from boostorg/beast
Fix style errors
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user