data wrapper update
This commit is contained in:
parent
0f27c7e7e7
commit
c756297e5c
@ -36,9 +36,8 @@ struct DataWrapper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]] bool isNull() const {
|
[[nodiscard]] bool isNull() const {
|
||||||
if (type == DataTypes::RAW and dataUnion.raw.data == nullptr or
|
if ((type == DataTypes::NONE) or (type == DataTypes::RAW and dataUnion.raw.data == nullptr) or
|
||||||
(type == DataTypes::SERIALIZABLE and dataUnion.serializable == nullptr) or
|
(type == DataTypes::SERIALIZABLE and dataUnion.serializable == nullptr)) {
|
||||||
(type == DataTypes::NONE)) {
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user