summaryrefslogtreecommitdiff
path: root/core/variant
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-11-11 09:08:08 +0100
committerRémi Verschelde <rverschelde@gmail.com>2021-11-11 11:23:32 +0100
commit2beaae4b6f1c4a2c3833a5e205157fd3be2fcabc (patch)
tree96b7ca74ef9f48ecba1181edb5ae85fca557242a /core/variant
parent171a69757f575bbc55c686956097c7b4434ec1f8 (diff)
String: Remove `erase` method, bindings can't mutate String
Diffstat (limited to 'core/variant')
-rw-r--r--core/variant/variant_call.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/variant/variant_call.cpp b/core/variant/variant_call.cpp
index c3fe443456..196fd92b97 100644
--- a/core/variant/variant_call.cpp
+++ b/core/variant/variant_call.cpp
@@ -1412,8 +1412,6 @@ static void _register_variant_builtin_methods() {
bind_method(String, plus_file, sarray("file"), varray());
bind_method(String, unicode_at, sarray("at"), varray());
bind_method(String, dedent, sarray(), varray());
- // FIXME: String needs to be immutable when binding
- //bind_method(String, erase, sarray("position", "chars"), varray());
bind_method(String, hash, sarray(), varray());
bind_method(String, md5_text, sarray(), varray());
bind_method(String, sha1_text, sarray(), varray());