summaryrefslogtreecommitdiffstats
path: root/src/core/String.cpp
diff options
context:
space:
mode:
authorThomas Herzog <thomas.herzog@mail.com>2017-10-03 17:51:24 +0200
committerGitHub <noreply@github.com>2017-10-03 17:51:24 +0200
commitb32b9422abd60238b1df6936e6b1adb9dac72e66 (patch)
treed9dfa72c90eddeeec165b2789ad378baea65ed35 /src/core/String.cpp
parent83cc9b8092acc662a87e365e996e94782177ecaa (diff)
parent3ddd85d9a2be68770e6651d9fc012611d701c626 (diff)
downloadredot-cpp-b32b9422abd60238b1df6936e6b1adb9dac72e66.tar.gz
Merge pull request #42 from RameshRavone/patch-7
Fixes #41
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);
}