X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FEvents.cti;h=435fe3a34638acd5d0bd83c9b853401d15199f87;hb=6927c87144ca23845065e3c23e37c75f5f059cf3;hp=66cb5fa050eb5a256dd1852e035ebe9f7c423c07;hpb=f73fa16ed5abdce272ac77f8b8b9ef2b9922c266;p=senf.git diff --git a/PPI/Events.cti b/PPI/Events.cti index 66cb5fa..435fe3a 100644 --- a/PPI/Events.cti +++ b/PPI/Events.cti @@ -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 @@ -26,6 +26,7 @@ #include "Events.ih" // Custom includes +#include "../Utils/senfassert.hh" #include "detail/EventBinding.hh" #define prefix_ inline @@ -58,7 +59,8 @@ template prefix_ senf::ppi::detail::EventBinding & senf::ppi::EventImplementationHelper::binding() { - BOOST_ASSERT( static_cast(this)->binding_ ); + SENF_ASSERT( static_cast(this)->binding_ && + "senf::ppi::EventImplementationHelper::binding(): Missing registerEvent()" ); return * static_cast(this)->binding_; } @@ -88,7 +90,8 @@ template prefix_ senf::ppi::detail::EventBinding & senf::ppi::EventImplementationHelper::binding() { - BOOST_ASSERT( static_cast(this)->binding_ ); + SENF_ASSERT( static_cast(this)->binding_ && + "senf::ppi::EventImplementationHelper::binding(): Missing registerEvent()" ); return * static_cast(this)->binding_; }