diff options
| author | David Chisnall <theraven@FreeBSD.org> | 2013-02-07 15:45:28 +0000 |
|---|---|---|
| committer | David Chisnall <theraven@FreeBSD.org> | 2013-02-07 15:45:28 +0000 |
| commit | cfdf2879c921f2ddcc56acc526e465600607b487 (patch) | |
| tree | 52637438fa031aa783147d9ac30dac90131dffdf /contrib/libc++/include/algorithm | |
| parent | 45732078c1abbb1fcfeb9eaa54546afca3f0b1a8 (diff) | |
| parent | c7f918d0681828afdbddfdcc354b6f3dfc2a7b68 (diff) | |
Notes
Diffstat (limited to 'contrib/libc++/include/algorithm')
| -rw-r--r-- | contrib/libc++/include/algorithm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libc++/include/algorithm b/contrib/libc++/include/algorithm index 0f6107bdde05..e24f9793c50b 100644 --- a/contrib/libc++/include/algorithm +++ b/contrib/libc++/include/algorithm @@ -1528,10 +1528,10 @@ copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result) // copy_backward -template <class _InputIterator, class _OutputIterator> +template <class _BidirectionalIterator, class _OutputIterator> inline _LIBCPP_INLINE_VISIBILITY _OutputIterator -__copy_backward(_InputIterator __first, _InputIterator __last, _OutputIterator __result) +__copy_backward(_BidirectionalIterator __first, _BidirectionalIterator __last, _OutputIterator __result) { while (__first != __last) *--__result = *--__last; |
