Dictionary::get_key_list use LocalVector instead of List.
This commit is contained in:
parent
4248411baf
commit
f7e4987d0e
13 changed files with 33 additions and 44 deletions
|
|
@ -122,8 +122,7 @@ String JSON::_stringify(const Variant &p_var, const String &p_indent, int p_cur_
|
|||
ERR_FAIL_COND_V_MSG(p_markers.has(d.id()), "\"{...}\"", "Converting circular structure to JSON.");
|
||||
p_markers.insert(d.id());
|
||||
|
||||
List<Variant> keys;
|
||||
d.get_key_list(&keys);
|
||||
LocalVector<Variant> keys = d.get_key_list();
|
||||
|
||||
if (p_sort_keys) {
|
||||
keys.sort_custom<StringLikeVariantOrder>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue