X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FSafeBool.cti;h=a1d4bc094d1ae67924e61a8f7ff904dfd81b92e7;hb=cb10487f67b404334eaffa60f074b8eca8f871de;hp=1948e2d9545ece07248ef3694ebf82750d17097f;hpb=145f6a7d0f3a6aaa77b3625351c952d24cb0b8a1;p=senf.git diff --git a/Utils/SafeBool.cti b/Utils/SafeBool.cti index 1948e2d..a1d4bc0 100644 --- a/Utils/SafeBool.cti +++ b/Utils/SafeBool.cti @@ -12,7 +12,7 @@ ///////////////////////////////cti.p/////////////////////////////////////// template -prefix_ senf::SafeBool::operator bool_type() +prefix_ senf::ComparableSafeBool::operator bool_type() const { return (static_cast(this))->boolean_test() @@ -20,14 +20,14 @@ prefix_ senf::SafeBool::operator bool_type() } template -prefix_ bool senf::SafeBool::operator!() +prefix_ bool senf::ComparableSafeBool::operator!() const { return ! (static_cast(this))->boolean_test(); } template -prefix_ senf::SafeBool::~SafeBool() +prefix_ senf::ComparableSafeBool::~ComparableSafeBool() {} template