aboutsummaryrefslogtreecommitdiff
path: root/core/io/json.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-11 08:53:31 -0300
committerJuan Linietsky2017-01-11 08:54:17 -0300
commite6583117df95373cffb12105de82d3816ca09f85 (patch)
tree9953c32a4b50db9cc99d0999c7904a27748a0ace /core/io/json.cpp
parent57166cd2923cc6d32b37c34f6ca2f32f6941e4a8 (diff)
downloadgodot-e6583117df95373cffb12105de82d3816ca09f85.tar.gz
godot-e6583117df95373cffb12105de82d3816ca09f85.tar.zst
godot-e6583117df95373cffb12105de82d3816ca09f85.zip
Diffstat (limited to 'core/io/json.cpp')
-rw-r--r--core/io/json.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/json.cpp b/core/io/json.cpp
index ed1e74967..c0aa530a1 100644
--- a/core/io/json.cpp
+++ b/core/io/json.cpp
@@ -288,7 +288,7 @@ Error JSON::_parse_value(Variant &value,Token& token,const CharType *p_str,int &
if (token.type==TK_CURLY_BRACKET_OPEN) {
- Dictionary d(true);
+ Dictionary d;
Error err = _parse_object(d,p_str,index,p_len,line,r_err_str);
if (err)
return err;
@@ -296,7 +296,7 @@ Error JSON::_parse_value(Variant &value,Token& token,const CharType *p_str,int &
return OK;
} else if (token.type==TK_BRACKET_OPEN) {
- Array a(true);
+ Array a;
Error err = _parse_array(a,p_str,index,p_len,line,r_err_str);
if (err)
return err;