Socket: Move protocol into the socket body (as private base class) and allow non...
[senf.git] / Socket / Protocols / INet / RawINetSocketHandle.cc
index c775948..159cb16 100644 (file)
@@ -60,12 +60,6 @@ senf::RawV4SocketProtocol::init_client(int const & protocol, INet4SocketAddress
     clientHandle().bind(address);
 }
 
-prefix_ std::auto_ptr<senf::SocketProtocol> senf::RawV4SocketProtocol::clone()
-    const
-{
-    return std::auto_ptr<SocketProtocol>(new RawV4SocketProtocol());
-}
-
 ///////////////////////////////////////////////////////////////////////////
 // senf::RawV6SocketProtocol::
 
@@ -92,12 +86,6 @@ senf::RawV6SocketProtocol::init_client(int const & protocol, INet6SocketAddress
     clientHandle().bind(address);
 }
 
-prefix_ std::auto_ptr<senf::SocketProtocol> senf::RawV6SocketProtocol::clone()
-    const
-{
-    return std::auto_ptr<SocketProtocol>(new RawV6SocketProtocol());
-}
-
 ///////////////////////////////cc.e////////////////////////////////////////
 #undef prefix_
 //#include "RawINetSocketHandle.mpp"