config: use senf::config::copy_n instead of SENF_copy_n macro
[senf.git] / senf / PPI / EventManager.cc
index 0b6a482..ca2a598 100644 (file)
@@ -52,11 +52,12 @@ prefix_ void senf::ppi::EventManager::destroyEvent(EventDescriptor & event)
 {
     using boost::lambda::_1;
     namespace l = boost::lambda;
-    
+
     SENF_ASSERT(
         std::find_if(registrations_.begin(), registrations_.end(),
-                     l::bind(&detail::EventBindingBase::descriptor_,_1) == &event) 
-        == registrations_.end());
+                     l::bind(&detail::EventBindingBase::descriptor_,_1) == &event)
+        == registrations_.end(),
+        "Internal failure: registrations still active while destroying event ??");
 }
 
 ///////////////////////////////cc.e////////////////////////////////////////