link() takes a JsonVariantConst

This commit is contained in:
Benoit Blanchon
2022-03-10 14:45:50 +01:00
parent 2dc0600bd4
commit 0b2eebeabc
6 changed files with 10 additions and 8 deletions

View File

@@ -212,7 +212,7 @@ class VariantData {
setType(VALUE_IS_NULL);
}
void setPointer(VariantData *value) {
void setPointer(const VariantData *value) {
setType(VALUE_IS_POINTER);
_content.asPointer = value;
}