summaryrefslogtreecommitdiffstats
path: root/include/core/String.hpp
diff options
context:
space:
mode:
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;