sources/mystring.h

branch
protocol5
changeset 79
62cfb7b97fc0
parent 73
07dda51a7a8e
child 84
3bd32eec3d57
--- a/sources/mystring.h	Fri May 15 22:46:53 2015 +0300
+++ b/sources/mystring.h	Sun May 17 17:22:20 2015 +0300
@@ -104,7 +104,7 @@
 	void replace (int pos, int n, const String &a) { m_string.replace (pos, n, a.chars()); }
 	void shrink_to_fit() { m_string.shrink_to_fit(); }
 	void sprintf (const char* fmtstr, ...);
-	bool starts_with (const String &other);
+	bool starts_with (const String &other) const;
 	String strip (char unwanted) { return strip ({unwanted}); }
 	String strip (const List<char> &unwanted);
 	void trim (int n);

mercurial