diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index db157a2775b..f12e1fc1c38 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2000-06-02 Anthony Williams + + * testsuite/21_strings/replace.cc (test01): Qualify find with std::. + 2000-06-01 Benjamin Kosnik * bits/std_cwctype.h: Clean. diff --git a/libstdc++-v3/testsuite/21_strings/replace.cc b/libstdc++-v3/testsuite/21_strings/replace.cc index b72604a2499..b2d1096a090 100644 --- a/libstdc++-v3/testsuite/21_strings/replace.cc +++ b/libstdc++-v3/testsuite/21_strings/replace.cc @@ -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