* tstring.cc (identitytest): s/remove/erase/.

From-SVN: r15886
This commit is contained in:
Jason Merrill 1997-10-10 07:43:28 +00:00 committed by Jason Merrill
parent da8c445d07
commit 38bab5d4c6
2 changed files with 5 additions and 1 deletions

View 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.

View 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);