Skip to content

make `TestSuite::operator bool()` explicit

Implicit conversion to bool allows using TestSuite in arithmetic expressions such as 1.0 / t where t is an instance of TestSuite. With an explicit conversion operator, one gets a compiler error when using the wrong variable here.

Merge request reports

Loading