]> gcc.gnu.org Git - gcc.git/commitdiff
* tstring.cc (identitytest): s/remove/erase/.
authorJason Merrill <jason@yorick.cygnus.com>
Fri, 10 Oct 1997 07:43:28 +0000 (07:43 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 10 Oct 1997 07:43:28 +0000 (03:43 -0400)
From-SVN: r15886

libstdc++/tests/ChangeLog
libstdc++/tests/tstring.cc

index ac76090276e91b7ab4ab9efdec3bf80950f77fff..da8b5c407cb850b2466e3537b8f9f7bf24254c65 100644 (file)
@@ -1,3 +1,7 @@
+Fri Oct 10 00:40:31 1997  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * tstring.cc (identitytest): s/remove/erase/.
+
 Thu Sep 25 19:48:22 1997  Jason Merrill  <jason@yorick.cygnus.com>
 
        * tstring.cc: Add some tests for the member templates.
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.060095 seconds and 5 git commands to generate.