face: use move semantics for sockets where possible
Change-Id: I2af595073f862c570c1ce0dcb3717f3d2b9cfd71
Refs: #2613
diff --git a/daemon/face/unix-stream-face.hpp b/daemon/face/unix-stream-face.hpp
index 51482c4..c377819 100644
--- a/daemon/face/unix-stream-face.hpp
+++ b/daemon/face/unix-stream-face.hpp
@@ -40,8 +40,8 @@
class UnixStreamFace : public StreamFace<boost::asio::local::stream_protocol, LocalFace>
{
public:
- explicit
- UnixStreamFace(const shared_ptr<protocol::socket>& socket);
+ UnixStreamFace(const FaceUri& remoteUri, const FaceUri& localUri,
+ protocol::socket socket);
};
} // namespace nfd