This commit is contained in:
Benoit Blanchon
2022-03-11 18:28:37 +01:00
parent 45c77b5558
commit cf56a7de2a
2 changed files with 26 additions and 11 deletions

View File

@@ -165,6 +165,8 @@ class VariantData {
}
bool isNull() const {
if (isPointer())
return _content.asPointer->isNull();
return type() == VALUE_IS_NULL;
}