Removed SafeBool

This commit is contained in:
Phil Nash
2017-04-25 14:46:48 +00:00
parent e1bca7017d
commit cc8206f4c3
4 changed files with 5 additions and 16 deletions

View File

@@ -293,8 +293,8 @@ struct Boolable
{
explicit Boolable( bool value ) : m_value( value ) {}
operator Catch::SafeBool::type() const {
return Catch::SafeBool::makeSafe( m_value );
explicit operator bool() const {
return m_value;
}
bool m_value;