X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FIOEvent.cc;h=c39d57a1f93c4b9e2d4e90cf36458eac98fef08b;hb=61bbb1c1ec66b1a41951fc971d0325095e17e7a9;hp=abb197496ffb50a6d856b5a5a30c1a45ee3e47ef;hpb=f73fa16ed5abdce272ac77f8b8b9ef2b9922c266;p=senf.git diff --git a/PPI/IOEvent.cc b/PPI/IOEvent.cc index abb1974..c39d57a 100644 --- a/PPI/IOEvent.cc +++ b/PPI/IOEvent.cc @@ -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 @@ -27,6 +27,7 @@ //#include "IOEvent.ih" // Custom includes +#include "../Utils/senfassert.hh" #include //#include "IOEvent.mpp" @@ -41,7 +42,7 @@ prefix_ void senf::ppi::IOEvent::v_enable() { - Scheduler::instance().add(fd_, boost::bind(&IOEvent::cb,this,_1), + Scheduler::instance().add(fd_, boost::bind(&IOEvent::cb,this,_1), Scheduler::EventId(events_)); } @@ -59,7 +60,7 @@ prefix_ void senf::ppi::IOEvent::cb(Scheduler::EventId event) throw HangupException(); else // This cannot happen. - BOOST_ASSERT(false); + SENF_ASSERT(false); } else { IOEventInfo info = { event }; callback(info);