Update SENF to compile using g++ 4.3.2 (Ubuntu 8.10)
[senf.git] / Socket / ProtocolServerSocketHandle.hh
index 4e010dc..bbd97e6 100644 (file)
@@ -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 <g0dil@berlios.de>
 //
 // This program is free software; you can redistribute it and/or modify
@@ -30,6 +30,7 @@
 // Custom includes
 #include "ServerSocketHandle.hh"
 #include "../config.hh"
+#include "../Utils/Tags.hh"
 
 #include "ProtocolServerSocketHandle.mpp"
 ///////////////////////////////hh.p////////////////////////////////////////
@@ -70,7 +71,6 @@ namespace senf {
         // Types
 
         typedef SocketProtocol Protocol; ///< The socket protocol
-        enum UninitializedType { Uninitialized }; ///< Flag to call 'uninitialized' constructor
 
         ///////////////////////////////////////////////////////////////////////////
         ///\name Structors and default members
@@ -100,7 +100,7 @@ namespace senf {
 
             \implementation The socket handle will have no \c body allocated.
          */
-        ProtocolServerSocketHandle(UninitializedType);
+        ProtocolServerSocketHandle(senf::NoInit_t);
         ///@}
         ///////////////////////////////////////////////////////////////////////////