From 5cd67a72cc5047f4e38d1214faca0a63dffbb98a Mon Sep 17 00:00:00 2001 From: Christopher Kohlhoff Date: Tue, 17 Sep 2013 22:01:26 +0000 Subject: [PATCH] Add missing move cast. [SVN r85754] --- include/boost/asio/detail/wrapped_handler.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/asio/detail/wrapped_handler.hpp b/include/boost/asio/detail/wrapped_handler.hpp index b80e11b1..ad1d0512 100644 --- a/include/boost/asio/detail/wrapped_handler.hpp +++ b/include/boost/asio/detail/wrapped_handler.hpp @@ -73,7 +73,7 @@ public: void operator()() { - dispatcher_.dispatch(handler_); + dispatcher_.dispatch(BOOST_ASIO_MOVE_CAST(Handler)(handler_)); } void operator()() const