X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FTypeIdValue.cci;h=28c1e11dddf5600adbd459057fcc3916759535f3;hb=5b2e9a63a43027c71ac470ac9bdecb72e8974951;hp=e11e44b68dfbd2c3bd8aa8be6ded0d45bb805f3c;hpb=a9d8ca7d0cd9d0ee9d3bd37988546d016ea5c27a;p=senf.git diff --git a/senf/Utils/TypeIdValue.cci b/senf/Utils/TypeIdValue.cci index e11e44b..28c1e11 100644 --- a/senf/Utils/TypeIdValue.cci +++ b/senf/Utils/TypeIdValue.cci @@ -30,7 +30,7 @@ #include "senfassert.hh" #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// prefix_ senf::TypeIdValue::TypeIdValue() : p_ (&typeid(void)) @@ -67,7 +67,8 @@ prefix_ std::string senf::TypeIdValue::prettyName() prefix_ std::type_info const & senf::TypeIdValue::id() const { - SENF_ASSERT(p_); + SENF_ASSERT( + p_, "Internal failure: Empty TypeIdValue should have p_ point to typeid(void) not 0"); return *p_; } @@ -82,7 +83,7 @@ prefix_ std::ostream & senf::operator<<(std::ostream & os, TypeIdValue const & v return os; } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_