diff --git a/src/asio_server_request_impl.cc b/src/asio_server_request_impl.cc index 915b03e8..64866fa2 100644 --- a/src/asio_server_request_impl.cc +++ b/src/asio_server_request_impl.cc @@ -59,7 +59,7 @@ const boost::asio::ip::tcp::endpoint &request_impl::remote_endpoint() const { } void request_impl::remote_endpoint(boost::asio::ip::tcp::endpoint ep) { - remote_ep_ = ep; + remote_ep_ = std::move(ep); } } // namespace server