Removed SafeBool
This commit is contained in:
parent
e1bca7017d
commit
cc8206f4c3
4 changed files with 5 additions and 16 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue