X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FDebugModules.cci;h=975d9bba98fb740394ecc780a7f747b85507b127;hb=0734bd14c709ca5ba1d0ed69c5b9f5d1487e5faa;hp=07a9c86cea734391306b71d3d9a6963fa3b02fc1;hpb=f73fa16ed5abdce272ac77f8b8b9ef2b9922c266;p=senf.git diff --git a/PPI/DebugModules.cci b/PPI/DebugModules.cci index 07a9c86..975d9bb 100644 --- a/PPI/DebugModules.cci +++ b/PPI/DebugModules.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 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; }