removed some useless spaces; not very important, I know :)
[senf.git] / Socket / SocketProtocol.cci
index 1a55451..47f7a68 100644 (file)
@@ -1,9 +1,9 @@
 // $Id$
 //
 // Copyright (C) 2006
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
-//     Stefan Bund <stefan.bund@fokus.fraunhofer.de>
+// 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
 // it under the terms of the GNU General Public License as published by
@@ -27,7 +27,8 @@
 //#include "SocketProtocol.ih"
 
 // Custom includes
-#include <boost/assert.hpp>
+#include "../Utils/senfassert.hh"
+#include "../Utils/Logger/SenfLog.hh"
 
 #define prefix_ inline
 ///////////////////////////////cci.p///////////////////////////////////////
@@ -50,24 +51,16 @@ prefix_ int senf::SocketProtocol::fd()
 prefix_ void senf::SocketProtocol::fd(int fd)
     const
 {
-    BOOST_ASSERT(! body().valid());
+    SENF_ASSERT(! body().valid());
     body().fd(fd);
 }
 
 prefix_ senf::SocketProtocol::SocketProtocol()
-    : body_(0)
 {}
 
 prefix_  senf::SocketProtocol::~SocketProtocol()
 {}
 
-prefix_ senf::SocketBody & senf::SocketProtocol::body()
-    const
-{
-    BOOST_ASSERT( body_ );
-    return *body_;
-}
-
 ///////////////////////////////cci.e///////////////////////////////////////
 #undef prefix_