isNull() ignores pointers (6796,5606)

This commit is contained in:
Benoit Blanchon
2022-03-29 12:14:15 +02:00
parent ddb5e1177c
commit 58dee1850d
3 changed files with 2 additions and 4 deletions

View File

@@ -163,8 +163,6 @@ class VariantData {
}
bool isNull() const {
if (isPointer()) // P+0 G+20
return _content.asPointer->isNull();
return type() == VALUE_IS_NULL;
}