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:
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user