diff options
author | David Chisnall <theraven@FreeBSD.org> | 2013-02-07 13:09:19 +0000 |
---|---|---|
committer | David Chisnall <theraven@FreeBSD.org> | 2013-02-07 13:09:19 +0000 |
commit | c7f918d0681828afdbddfdcc354b6f3dfc2a7b68 (patch) | |
tree | d1f057460d329356b56f67bf5740b7393c925844 /include/algorithm | |
parent | fbd326037ffe8b31f74ce56deb05b6432b26665c (diff) |
Notes
Diffstat (limited to 'include/algorithm')
-rw-r--r-- | include/algorithm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/algorithm b/include/algorithm index 0f6107bdde05..e24f9793c50b 100644 --- a/include/algorithm +++ b/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; |