sources/mystring.cpp

changeset 14
33b8f428bacb
parent 12
8d0d1b368de0
child 66
bd28a5730fd0
--- a/sources/mystring.cpp	Sat Dec 13 04:50:33 2014 +0200
+++ b/sources/mystring.cpp	Sat Dec 13 07:36:00 2014 +0200
@@ -63,7 +63,7 @@
 	for (char c : unwanted)
 	{
 		for (int pos = 0; (pos = copy.find (String (c))) != -1;)
-			copy.remove (pos--);
+			copy.remove_at (pos--);
 	}
 
 	return copy;

mercurial