asio: Use std::move for remote_endpoint assignment

This commit is contained in:
Tatsuhiro Tsujikawa 2015-12-20 14:00:58 +09:00
parent 19146211d7
commit 6c1a76af6e
1 changed files with 1 additions and 1 deletions

View File

@ -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