Removed SafeBool

This commit is contained in:
Phil Nash committed 2017-04-25 19:30:53 +01:00
1 parent e1bca7017d
commit cc8206f4c3
4 files changed
+5 -16

No files matched your search

+2 -2
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;