sources/mystring.h

changeset 14
33b8f428bacb
parent 12
8d0d1b368de0
child 53
8f1a6f40d1b4
--- a/sources/mystring.h	Sat Dec 13 04:50:33 2014 +0200
+++ b/sources/mystring.h	Sat Dec 13 07:36:00 2014 +0200
@@ -83,8 +83,8 @@
 	inline METHOD modify_index (int& a) -> void;
 	       METHOD normalize (int (*filter)(int) = &std::isspace) -> void;
 	inline METHOD prepend (String a) -> void;
-	inline METHOD remove (int pos) -> void;
 	inline METHOD remove (int pos, int len) -> void;
+	inline METHOD remove_at (int pos) -> void;
 	inline METHOD remove_from_end (int len) -> void;
 	inline METHOD remove_from_start (int len) -> void;
 	       METHOD replace (const char* a, const char* b) -> void;
@@ -228,7 +228,7 @@
 // -------------------------------------------------------------------------------------------------
 
 inline METHOD
-String::remove (int pos) -> void
+String::remove_at (int pos) -> void
 {
 	m_string.erase (m_string.begin() + pos);
 }

mercurial