Socket: Make protocl() member return non-const SocketProtocol reference
[senf.git] / Socket / SocketHandle.ih
index bc974b8..de34df0 100644 (file)
@@ -122,8 +122,7 @@ namespace senf {
         ///@}
         ///////////////////////////////////////////////////////////////////////////
 
-        SocketProtocol & protocol(); ///< Access the protocol instance
-        SocketProtocol const & protocol() const; ///< Access the protocol instance (const)
+        SocketProtocol & protocol() const; ///< Access the protocol instance
 
         bool isServer();                ///< Check socket type
                                         /**< \return \c true, if this is a server socket, \c false