mirror of
https://github.com/catchorg/Catch2.git
synced 2025-11-03 00:22:03 +01:00
Removed SafeBool
This commit is contained in:
@@ -61,8 +61,8 @@ namespace Catch {
|
||||
bool none() const { return nullableValue == nullptr; }
|
||||
|
||||
bool operator !() const { return nullableValue == nullptr; }
|
||||
operator SafeBool::type() const {
|
||||
return SafeBool::makeSafe( some() );
|
||||
explicit operator bool() const {
|
||||
return some();
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user