Update FSFW from upstream #71
@ -36,9 +36,8 @@ struct DataWrapper {
|
||||
}
|
||||
|
||||
[[nodiscard]] bool isNull() const {
|
||||
if (type == DataTypes::RAW and dataUnion.raw.data == nullptr or
|
||||
(type == DataTypes::SERIALIZABLE and dataUnion.serializable == nullptr) or
|
||||
(type == DataTypes::NONE)) {
|
||||
if ((type == DataTypes::NONE) or (type == DataTypes::RAW and dataUnion.raw.data == nullptr) or
|
||||
(type == DataTypes::SERIALIZABLE and dataUnion.serializable == nullptr)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user