X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSocketHandle.hh;h=a119d2b4fef38dc5aec5d309b4fc3a8c76016d2f;hb=99822a43b5a79b68563b8ae09e1f36791ede66b1;hp=9f41494779da8b9480eb40ee2e49289806981c57;hpb=412024ed31a4ab4eaea7a4165a434f8efebee325;p=senf.git diff --git a/Socket/SocketHandle.hh b/Socket/SocketHandle.hh index 9f41494..a119d2b 100644 --- a/Socket/SocketHandle.hh +++ b/Socket/SocketHandle.hh @@ -148,7 +148,7 @@ namespace senf { documentation. */ template - Facet const & facet(); ///< Access a protocol facet + Facet & facet(); ///< Access a protocol facet /**< This member will try to access the given protocol facet of the socket. If \a Facet is a valid facet of the protocol, it is returned, otherwise \c std::bad_cast @@ -190,7 +190,7 @@ namespace senf { /**< This member replaces the corresponding FileHandle member and returns an appropriately cast body reference */ - SocketProtocol const & protocol() const; + SocketProtocol & protocol() const; ///< Access protocol class void assign(FileHandle other); /**< \internal */