summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-04-02 13:01:28 +0200
committerGitHub <noreply@github.com>2020-04-02 13:01:28 +0200
commit7341a8fe1df65dc4d36aa49938575b6099764c0a (patch)
tree6f710e00073bf22d474adb506231789bec4b3db4 /core
parentff14d071ccfdf25b899ab49312ef639da7c71fd6 (diff)
parentd648f771197b8900d9efe85bed8709afdef58d83 (diff)
Merge pull request #37513 from zak-grumbles/make_dict_erase_sequenced
Make dict erase visual node sequenced
Diffstat (limited to 'core')
-rw-r--r--core/variant_call.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant_call.cpp b/core/variant_call.cpp
index db7244a221..fecd507b48 100644
--- a/core/variant_call.cpp
+++ b/core/variant_call.cpp
@@ -1957,7 +1957,7 @@ void register_variant_methods() {
ADDFUNC0NC(DICTIONARY, NIL, Dictionary, clear, varray());
ADDFUNC1R(DICTIONARY, BOOL, Dictionary, has, NIL, "key", varray());
ADDFUNC1R(DICTIONARY, BOOL, Dictionary, has_all, ARRAY, "keys", varray());
- ADDFUNC1R(DICTIONARY, BOOL, Dictionary, erase, NIL, "key", varray());
+ ADDFUNC1RNC(DICTIONARY, BOOL, Dictionary, erase, NIL, "key", varray());
ADDFUNC0R(DICTIONARY, INT, Dictionary, hash, varray());
ADDFUNC0R(DICTIONARY, ARRAY, Dictionary, keys, varray());
ADDFUNC0R(DICTIONARY, ARRAY, Dictionary, values, varray());