summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/ext/algorithm
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-29 10:03:36 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-29 10:03:36 +0000
commitb09563162530749caf5eb9c699441850afdeb9d5 (patch)
treecae347e765458312a2323b5eb707e738771c1648 /libstdc++-v3/include/ext/algorithm
parentb4b21cd0a5c705f3ed3d47c129866ced3d677071 (diff)
downloadppe42-gcc-b09563162530749caf5eb9c699441850afdeb9d5.tar.gz
ppe42-gcc-b09563162530749caf5eb9c699441850afdeb9d5.zip
2010-06-29 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/44708 * include/ext/algorithm (copy_n): Qualify __copy_n call with __gnu_cxx:: * testsuite/ext/rope/44708.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161524 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/ext/algorithm')
-rw-r--r--libstdc++-v3/include/ext/algorithm4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/include/ext/algorithm b/libstdc++-v3/include/ext/algorithm
index 5956e24bcd0..cac4ff70e8e 100644
--- a/libstdc++-v3/include/ext/algorithm
+++ b/libstdc++-v3/include/ext/algorithm
@@ -123,8 +123,8 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
__glibcxx_function_requires(_OutputIteratorConcept<_OutputIterator,
typename iterator_traits<_InputIterator>::value_type>)
- return __copy_n(__first, __count, __result,
- std::__iterator_category(__first));
+ return __gnu_cxx::__copy_n(__first, __count, __result,
+ std::__iterator_category(__first));
}
template<typename _InputIterator1, typename _InputIterator2>
OpenPOWER on IntegriCloud