]> gcc.gnu.org Git - gcc.git/blobdiff - libstdc++/tests/tstring.cc
* tstring.cc (identitytest): s/remove/erase/.
[gcc.git] / libstdc++ / tests / tstring.cc
index 954d77fd4e2347dc0687e43cd76ea7d71164c8ef..14e8706e38808d9ae76a6592b22c892555e71235 100644 (file)
@@ -177,7 +177,7 @@ void identitytest(string a, string b)
   
   assert((a + b + a) == (a + (b + a)));
 
-  x.remove (x.rfind (b));
+  x.erase (x.rfind (b));
   assert(x == a);
 
   y.replace (0, y.rfind (b), b);
This page took 0.028724 seconds and 5 git commands to generate.