Socket: Move protocol into the socket body (as private base class) and allow non...
[senf.git] / Socket / Protocols / Raw / PacketSocketHandle.cc
index b3183f9..a57edf5 100644 (file)
@@ -54,12 +54,6 @@ prefix_ void senf::PacketProtocol::init_client(SocketType type, int protocol)
     fd(sock);
 }
 
-prefix_ std::auto_ptr<senf::SocketProtocol> senf::PacketProtocol::clone()
-    const
-{
-    return std::auto_ptr<SocketProtocol>(new PacketProtocol());
-}
-
 prefix_ unsigned senf::PacketProtocol::available()
     const
 {