CLang-compatibility: temporary fix for bool conversion

...but we really neeed to re-think those bollean evaluations and conversions
This commit is contained in:
Fischlurch 2014-08-27 04:23:21 +02:00
parent 7faa2e784d
commit d2193e381c

View file

@ -93,8 +93,8 @@ namespace test{
create_contained_object (holder);
CHECK (holder);
CHECK (false!=holder);
CHECK (holder!=false);
CHECK (false != bool(holder));
CHECK (bool(holder) != false);
CHECK (0 < Dummy::checksum());
CHECK ( &(*holder));