Merge pull request #36404 from rxlecky/fix-variant-conversion
Fix Variant to Vector<Variant> conversion operator
This commit is contained in:
commit
0e25f54755
|
@ -2490,7 +2490,7 @@ Variant::operator Vector<Variant>() const {
|
|||
variants.resize(va_size);
|
||||
Variant *w = variants.ptrw();
|
||||
for (int i = 0; i < va_size; i++)
|
||||
w[i] = variants[i];
|
||||
w[i] = va[i];
|
||||
|
||||
return variants;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue