summaryrefslogtreecommitdiffstats
path: root/include/core/String.hpp
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 /include/core/String.hpp
parent83cc9b8092acc662a87e365e996e94782177ecaa (diff)
parent3ddd85d9a2be68770e6651d9fc012611d701c626 (diff)
downloadredot-cpp-b32b9422abd60238b1df6936e6b1adb9dac72e66.tar.gz
Merge pull request #42 from RameshRavone/patch-7
Fixes #41
Diffstat (limited to 'include/core/String.hpp')
-rw-r--r--include/core/String.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/String.hpp b/include/core/String.hpp
index 819a300..43da4a3 100644
--- a/include/core/String.hpp
+++ b/include/core/String.hpp
@@ -52,7 +52,7 @@ public:
String capitalize() const;
bool empty() const;
bool ends_with(String &text) const;
- void erase(int position, int chars) const;
+ void erase(int position, int chars);
int find(String what, int from = 0) const;
int find_last(String what) const;
int findn(String what, int from = 0) const;