//#include "EventManager.mpp"
#define prefix_
-///////////////////////////////cc.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
-///////////////////////////////////////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
// senf::ppi::EventManager
-////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
// private members
prefix_ void senf::ppi::EventManager::destroyModule(module::Module & module)
SENF_ASSERT(
std::find_if(registrations_.begin(), registrations_.end(),
l::bind(&detail::EventBindingBase::descriptor_,_1) == &event)
- == registrations_.end());
+ == registrations_.end(),
+ "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"