summaryrefslogtreecommitdiffstats
path: root/src/core/String.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/String.cpp')
-rw-r--r--src/core/String.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/String.cpp b/src/core/String.cpp
index 2de76b0..c2da228 100644
--- a/src/core/String.cpp
+++ b/src/core/String.cpp
@@ -153,7 +153,7 @@ bool String::ends_with(String &p_string) const {
return godot_string_ends_with(&_godot_string, &p_string._godot_string);
}
-void String::erase(int position, int chars) const {
+void String::erase(int position, int chars) {
godot_string_erase(&_godot_string, position, chars);
}