X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FPacketInterpreter.cci;h=c5c75d367b6fc56ef4d73f45a6fb8504b3e729ce;hb=81f84badf27b66dbadec9890646ca1193e998505;hp=5d6a51e13449002bfeeac4749c9477c393d78c0c;hpb=47368f306a577d1e46df69a7f729bd3893cbe5e7;p=senf.git diff --git a/Packets/PacketInterpreter.cci b/Packets/PacketInterpreter.cci index 5d6a51e..c5c75d3 100644 --- a/Packets/PacketInterpreter.cci +++ b/Packets/PacketInterpreter.cci @@ -1,6 +1,8 @@ -// Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) +// $Id$ +// +// 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 @@ -22,6 +24,7 @@ \brief PacketInterpreter inline non-template implementation */ // Custom includes +#include "../Utils/senfassert.hh" #include #define prefix_ inline @@ -153,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); @@ -182,4 +185,6 @@ prefix_ void senf::PacketInterpreterBase::releaseImpl() // c-file-style: "senf" // indent-tabs-mode: nil // ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: