test inNull and bool operator

This commit is contained in:
2022-08-09 10:59:24 +02:00
parent 4f1fe39182
commit 06bea2f621
2 changed files with 19 additions and 9 deletions

View File

@ -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(); }