X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPPI%2FEventManager.cc;h=59cf31fc3ab4c5d9d07d267ab6b31f348c0e99cc;hb=7ee689fe38d66aa3a0004d55e8708750d35adc0b;hp=ca2a598692b6dcad03015729be952398f52cc89c;hpb=a1c37005ec4c281f6a76c07070a943cd1e36b6af;p=senf.git diff --git a/senf/PPI/EventManager.cc b/senf/PPI/EventManager.cc index ca2a598..59cf31f 100644 --- a/senf/PPI/EventManager.cc +++ b/senf/PPI/EventManager.cc @@ -32,12 +32,12 @@ //#include "EventManager.mpp" #define prefix_ -///////////////////////////////cc.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::ppi::EventManager -//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // private members prefix_ void senf::ppi::EventManager::destroyModule(module::Module & module) @@ -57,10 +57,12 @@ prefix_ void senf::ppi::EventManager::destroyEvent(EventDescriptor & event) std::find_if(registrations_.begin(), registrations_.end(), l::bind(&detail::EventBindingBase::descriptor_,_1) == &event) == registrations_.end(), - "Internal failure: registrations still active while destroying event ??"); + "Internal failure: registrations still active while destroying event." + "Maybe you've put the SENF_PPI_MODULE macro in a superclass instead of" + "in the subclass?"); } -///////////////////////////////cc.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_ //#include "EventManager.mpp"