X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FPacketInterpreter.cci;h=c5c75d367b6fc56ef4d73f45a6fb8504b3e729ce;hb=3863d46dd898b7bc35ea8c6ccd8563b18762a6b6;hp=52c924d5df0cc7d55bcd0be5feabdbd4d431a692;hpb=f73fa16ed5abdce272ac77f8b8b9ef2b9922c266;p=senf.git diff --git a/Packets/PacketInterpreter.cci b/Packets/PacketInterpreter.cci index 52c924d..c5c75d3 100644 --- a/Packets/PacketInterpreter.cci +++ b/Packets/PacketInterpreter.cci @@ -1,8 +1,8 @@ // $Id$ // -// Copyright (C) 2007 -// Fraunhofer Institute for Open Communication Systems (FOKUS) -// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Copyright (C) 2007 +// 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 @@ -24,6 +24,7 @@ \brief PacketInterpreter inline non-template implementation */ // Custom includes +#include "../Utils/senfassert.hh" #include #define prefix_ inline @@ -155,14 +156,14 @@ prefix_ bool senf::PacketInterpreterBase::release() prefix_ void senf::PacketInterpreterBase::assignImpl(detail::PacketImpl * impl) { - BOOST_ASSERT(!impl_); + SENF_ASSERT(!impl_); impl_ = impl; impl_->add_ref(refcount()); } prefix_ void senf::PacketInterpreterBase::releaseImpl() { - BOOST_ASSERT(impl_); + SENF_ASSERT(impl_); refcount_t refc (refcount()); if (refc) { impl_->release(refc);