X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FDebugModules.cci;h=975d9bba98fb740394ecc780a7f747b85507b127;hb=29825d5db542bd3a6769101abe40a8ed86409613;hp=5eac3c3022d6b2450fb7350227a79533e6659c67;hpb=e8b91aa6a817af6d9a3714e7b66be6c0d6b0a4e5;p=senf.git diff --git a/PPI/DebugModules.cci b/PPI/DebugModules.cci index 5eac3c3..975d9bb 100644 --- a/PPI/DebugModules.cci +++ b/PPI/DebugModules.cci @@ -1,8 +1,8 @@ // $Id$ // -// Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) +// 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 DebugModules inline non-template implementation */ // Custom includes +#include "../Utils/senfassert.hh" #include "Setup.hh" #define prefix_ inline @@ -89,7 +90,7 @@ senf::ppi::module::debug::PassiveSource::size() prefix_ void senf::ppi::module::debug::PassiveSource::request() { - BOOST_ASSERT( ! packets_.empty() ); + SENF_ASSERT( ! packets_.empty() ); output(packets_.front()); packets_.pop_front(); if (packets_.empty()) @@ -174,7 +175,7 @@ prefix_ senf::Packet senf::ppi::module::debug::PassiveSink::front() prefix_ senf::Packet senf::ppi::module::debug::PassiveSink::pop_front() { Packet p (front()); - if (p) + if (p) packets_.pop_front(); return p; }