//#include "SocketProtocol.ih"
// Custom includes
-#include <boost/assert.hpp>
+#include "../Utils/senfassert.hh"
+#include "../Utils/Logger/SenfLog.hh"
#define prefix_ inline
///////////////////////////////cci.p///////////////////////////////////////
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_