face: remove pointless method UdpFace::handleFirstReceive
Simply call DatagramFace::receiveDatagram directly.
Change-Id: Icec976fb9f4a008d08ece56c28ac652ea615bc76
diff --git a/daemon/face/tcp-face.hpp b/daemon/face/tcp-face.hpp
index a522ac4..3eddde1 100644
--- a/daemon/face/tcp-face.hpp
+++ b/daemon/face/tcp-face.hpp
@@ -36,8 +36,8 @@
class TcpFace : public StreamFace<boost::asio::ip::tcp>
{
public:
- explicit
- TcpFace(const shared_ptr<protocol::socket>& socket, bool isOnDemand);
+ TcpFace(const shared_ptr<protocol::socket>& socket,
+ bool isOnDemand);
};
//
@@ -50,8 +50,8 @@
class TcpLocalFace : public StreamFace<boost::asio::ip::tcp, LocalFace>
{
public:
- explicit
- TcpLocalFace(const shared_ptr<protocol::socket>& socket, bool isOnDemand);
+ TcpLocalFace(const shared_ptr<protocol::socket>& socket,
+ bool isOnDemand);
};