Author: sebor
Date: Fri Jul 7 17:21:19 2006
New Revision: 420021
URL: http://svn.apache.org/viewvc?rev=420021&view=rev
Log:
2006-07-07 Martin Sebor <[EMAIL PROTECTED]>
* replace.cpp (ReplaceRangeOverload): Qualified calls to members
of a dependent base with this-> to allow lookup to find them and
prevent compilation errors with strict compilers.
Modified:
incubator/stdcxx/trunk/tests/strings/21.string.replace.cpp
Modified: incubator/stdcxx/trunk/tests/strings/21.string.replace.cpp
URL:
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/strings/21.string.replace.cpp?rev=420021&r1=420020&r2=420021&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/strings/21.string.replace.cpp (original)
+++ incubator/stdcxx/trunk/tests/strings/21.string.replace.cpp Fri Jul 7
17:21:19 2006
@@ -787,7 +787,7 @@
// exercise self-referential modification (i.e., replacing
// a range of elements with a subrange of its own elements)
- const Iterator first2 (begin (str, (Iterator*)0) + off);
+ const Iterator first2 (this->begin (str, (Iterator*)0) + off);
const Iterator last2 (first2 + ext);
return str.replace (first1, last1, first2, last2);
@@ -795,7 +795,7 @@
String str_arg (tdata.arg_, tdata.arglen_);
- const Iterator first2 (begin (str_arg, (Iterator*)0) + off);
+ const Iterator first2 (this->begin (str_arg, (Iterator*)0) + off);
const Iterator last2 (first2 + ext);
return str.replace (first1, last1, first2, last2);