X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FPacketInterpreter.cci;h=3c5cee6fbbaf9ed0eb40875177e1a935cb0d80a7;hb=e57e1ec99a16261d1f436d1ea42f60dda6aae5cc;hp=7004c7acdc29097ae6d62d5b2f4db70e2243ee85;hpb=6116cb96ea7bdcb42b7d12165a05fcbe0687226d;p=senf.git diff --git a/Packets/PacketInterpreter.cci b/Packets/PacketInterpreter.cci index 7004c7a..3c5cee6 100644 --- a/Packets/PacketInterpreter.cci +++ b/Packets/PacketInterpreter.cci @@ -1,8 +1,8 @@ // $Id$ // // Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) +// 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);