diff --git a/include/boost/winasio/named_pipe/named_pipe.hpp b/include/boost/winasio/named_pipe/named_pipe.hpp index fd4fac8..0899464 100644 --- a/include/boost/winasio/named_pipe/named_pipe.hpp +++ b/include/boost/winasio/named_pipe/named_pipe.hpp @@ -49,6 +49,9 @@ class named_pipe : public boost::asio::windows::basic_stream_handle { 0) : boost::asio::windows::basic_stream_handle( context.get_executor()) {} + + named_pipe(named_pipe && other) + : boost::asio::windows::basic_stream_handle(std::move(other)) {} void server_create(boost::system::error_code &ec, endpoint_type const &endpoint) {