From e504cf5c6ccd2a2ce69bd084bd7d0dede780f41c Mon Sep 17 00:00:00 2001 From: Christopher Kohlhoff Date: Thu, 16 Nov 2006 11:47:42 +0000 Subject: [PATCH] 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] --- include/boost/asio/detail/strand_service.hpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/include/boost/asio/detail/strand_service.hpp b/include/boost/asio/detail/strand_service.hpp index d536ab7b..33b9f1a7 100644 --- a/include/boost/asio/detail/strand_service.hpp +++ b/include/boost/asio/detail/strand_service.hpp @@ -242,12 +242,9 @@ public: return impl_->handler_storage_.address(); } - template - 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_;