X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSocketHandle.cci;h=c25d09f304672a861f1feab403d74931355fbc33;hb=51044eb18f034c1a059ffe2fb109a422c1cbe251;hp=833b8b683ea2556e6585fe90f4540050a83bd170;hpb=844ac7af0a15ed6c487bc9928148ac38a2ce4025;p=senf.git diff --git a/Socket/SocketHandle.cci b/Socket/SocketHandle.cci index 833b8b6..c25d09f 100644 --- a/Socket/SocketHandle.cci +++ b/Socket/SocketHandle.cci @@ -27,6 +27,7 @@ #include "SocketHandle.ih" // Custom includes +#include "../Utils/senfassert.hh" #include "../Utils/Exception.hh" #include "SocketProtocol.hh" @@ -37,7 +38,7 @@ prefix_ senf::SocketBody::SocketBody(std::auto_ptr protocol, bool isServer) : protocol_(protocol), isServer_(isServer) { - BOOST_ASSERT( ! protocol_->body_ ); + SENF_ASSERT( ! protocol_->body_ ); protocol_->body_ = this; } @@ -45,7 +46,7 @@ prefix_ senf::SocketBody::SocketBody(std::auto_ptr protocol, bool isServer, int fd) : FileBody(fd), protocol_(protocol), isServer_(isServer) { - BOOST_ASSERT( ! protocol_->body_ ); + SENF_ASSERT( ! protocol_->body_ ); protocol_->body_ = this; }