X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FSafeBool.cti;h=f223f7524bae42ee50a2a3fde21c919ed2f9ebf1;hb=032707d24b1059febe83ce56b11fd79df106c6e2;hp=603ae8aefd2eb445d2d3cf2afec34f2728ec58c2;hpb=9248350bdd5a59799e603936d98241a1bb4591f9;p=senf.git diff --git a/Utils/SafeBool.cti b/Utils/SafeBool.cti index 603ae8a..f223f75 100644 --- a/Utils/SafeBool.cti +++ b/Utils/SafeBool.cti @@ -12,7 +12,7 @@ ///////////////////////////////cti.p/////////////////////////////////////// template -prefix_ satcom::lib::SafeBool::operator bool_type() +prefix_ senf::SafeBool::operator bool_type() const { return (static_cast(this))->boolean_test() @@ -20,24 +20,24 @@ prefix_ satcom::lib::SafeBool::operator bool_type() } template -prefix_ bool satcom::lib::SafeBool::operator!() +prefix_ bool senf::SafeBool::operator!() const { return ! (static_cast(this))->boolean_test(); } template -prefix_ satcom::lib::SafeBool::~SafeBool() +prefix_ senf::SafeBool::~SafeBool() {} template -prefix_ void satcom::lib::operator==(const SafeBool& lhs, const SafeBool& rhs) +prefix_ void senf::operator==(const SafeBool& lhs, const SafeBool& rhs) { lhs.this_type_does_not_support_comparisons(); } template -prefix_ void satcom::lib::operator!=(const SafeBool& lhs, const SafeBool& rhs) +prefix_ void senf::operator!=(const SafeBool& lhs, const SafeBool& rhs) { lhs.this_type_does_not_support_comparisons(); }