2
0
mirror of https://github.com/boostorg/asio.git synced 2026-01-28 06:42:08 +00:00

Remove unnecessary invoke hook since the default one provides the correct

behaviour, and including it here for the invoke_current_handler class breaks
MSVC 7.1 when generating browse information.


[SVN r36055]
This commit is contained in:
Christopher Kohlhoff
2006-11-16 11:47:42 +00:00
parent 837470ac11
commit e504cf5c6c

View File

@@ -242,12 +242,9 @@ public:
return impl_->handler_storage_.address();
}
template <typename Function>
friend void asio_handler_invoke(Function function,
invoke_current_handler*)
{
function();
}
// The asio_handler_invoke hook is not defined here since the default one
// provides the correct behaviour, and including it here breaks MSVC 7.1
// in some situations.
private:
strand_service& service_impl_;