Merge pull request #36404 from rxlecky/fix-variant-conversion

Fix Variant to Vector<Variant> conversion operator
This commit is contained in:
Rémi Verschelde 2020-03-01 09:30:28 +01:00 committed by GitHub
commit 0e25f54755
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}