]> gcc.gnu.org Git - gcc.git/commitdiff
replace.cc (test01): Qualify find with std::.
authorAnthony Williams <anthony@anthonyw.cjb.net>
Fri, 2 Jun 2000 18:31:44 +0000 (18:31 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Fri, 2 Jun 2000 18:31:44 +0000 (18:31 +0000)
2000-06-02  Anthony Williams  <anthony@anthonyw.cjb.net>

* testsuite/21_strings/replace.cc (test01): Qualify find with std::.

From-SVN: r34363

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/21_strings/replace.cc

index db157a2775b539701ea3ab5ddcdc9cd42550e223..f12e1fc1c3833d18b4b94f596535745bbbe897a4 100644 (file)
@@ -1,3 +1,7 @@
+2000-06-02  Anthony Williams  <anthony@anthonyw.cjb.net>
+
+       * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
+
 2000-06-01  Benjamin Kosnik  <bkoz@gnu.org>
 
        * bits/std_cwctype.h: Clean.
index b72604a24991414fc5b23ccd66dcc7d1ae91bd55..b2d1096a090c7681e0d19b41901adeb1272d283d 100644 (file)
@@ -73,8 +73,8 @@ bool test01(void)
   test &= x == "jello";
 
   int ar[] = { 'H', 'e', 'l', 'l', 'o' };
-  x.replace(find(x.begin(), x.end(), 'l'), 
-           find(x.rbegin(), x.rend(), 'l').base(), ar, 
+  x.replace(std::find(x.begin(), x.end(), 'l'), 
+           std::find(x.rbegin(), x.rend(), 'l').base(), ar, 
            ar + sizeof(ar) / sizeof(ar[0]));
   test &= x == "jeHelloo";
 #endif
This page took 0.068312 seconds and 5 git commands to generate.