Index: net/socket/unix_domain_client_socket_posix.cc |
diff --git a/net/socket/unix_domain_client_socket_posix.cc b/net/socket/unix_domain_client_socket_posix.cc |
index 8b15e73d54eea0f20fa1c85fd2863451b40fc640..fc2b303425a0042fb3251b8b3edc657fe824a25f 100644 |
--- a/net/socket/unix_domain_client_socket_posix.cc |
+++ b/net/socket/unix_domain_client_socket_posix.cc |
@@ -6,6 +6,7 @@ |
#include <sys/socket.h> |
#include <sys/un.h> |
+#include <utility> |
#include "base/logging.h" |
#include "base/posix/eintr_wrapper.h" |
@@ -23,7 +24,7 @@ UnixDomainClientSocket::UnixDomainClientSocket(const std::string& socket_path, |
} |
UnixDomainClientSocket::UnixDomainClientSocket(scoped_ptr<SocketPosix> socket) |
- : use_abstract_namespace_(false), socket_(socket.Pass()) {} |
+ : use_abstract_namespace_(false), socket_(std::move(socket)) {} |
UnixDomainClientSocket::~UnixDomainClientSocket() { |
Disconnect(); |