X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocolClientSocketHandle.cti;h=efdb9349a20592c3ddbc11391d04916a389a06e4;hb=99822a43b5a79b68563b8ae09e1f36791ede66b1;hp=9fe7718a99818f08b40bb30cf32f8c0f22183055;hpb=51044eb18f034c1a059ffe2fb109a422c1cbe251;p=senf.git diff --git a/Socket/ProtocolClientSocketHandle.cti b/Socket/ProtocolClientSocketHandle.cti index 9fe7718..efdb934 100644 --- a/Socket/ProtocolClientSocketHandle.cti +++ b/Socket/ProtocolClientSocketHandle.cti @@ -1,8 +1,8 @@ // $Id$ // // Copyright (C) 2006 -// Fraunhofer Institute for Open Communication Systems (FOKUS) -// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund // // This program is free software; you can redistribute it and/or modify @@ -37,13 +37,13 @@ template prefix_ senf::ProtocolClientSocketHandle:: -ProtocolClientSocketHandle(UninitializedType) +ProtocolClientSocketHandle(senf::NoInit_t) {} template prefix_ senf::ProtocolClientSocketHandle::ProtocolClientSocketHandle() : ClientSocketHandle( - std::auto_ptr(new SocketProtocol())) + std::auto_ptr(new senf::ProtocolSocketBody(false))) { this->protocol().init_client(); } @@ -58,13 +58,13 @@ ProtocolClientSocketHandle(FileHandle other, bool isChecked) {} template -prefix_ SocketProtocol const & +prefix_ SocketProtocol & senf::ProtocolClientSocketHandle::protocol() { - SENF_ASSERT( dynamic_cast(&this->body().protocol()) ); + SENF_ASSERT( dynamic_cast(&this->body().protocol()) ); // Need dynamic_cast here, since senf::SocketProtocol is a // virtual base - return dynamic_cast(this->body().protocol()); + return dynamic_cast(this->body().protocol()); } template