test inNull and bool operator
This commit is contained in:
@ -134,4 +134,4 @@ bool HeaderReader::isNull() const {
|
||||
return pointers.rawPtr == nullptr or pointers.fixedHeader == nullptr;
|
||||
}
|
||||
|
||||
HeaderReader::operator bool() const { return isNull(); }
|
||||
HeaderReader::operator bool() const { return not isNull(); }
|
||||
|
Reference in New Issue
Block a user