RelAccX::isReload() no longer requires a valid pointer

Change-Id: Iacd322873203df90bca16321718f0850157b62c8
This commit is contained in:
Marco van Dijk 2023-01-04 15:27:30 +01:00
parent 308f215fc3
commit 09cf1b463b

View file

@ -580,7 +580,7 @@ namespace Util{
bool RelAccX::isExit() const{return !p || (p[0] & 2);}
/// Returns true if the structure should be reloaded through out of band means.
bool RelAccX::isReload() const{return p[0] & 4;}
bool RelAccX::isReload() const{return !p || (p[0] & 4);}
/// Returns true if the given record number can be accessed.
bool RelAccX::isRecordAvailable(uint64_t recordNo) const{