diff options
author | theraven <theraven@FreeBSD.org> | 2013-02-07 13:09:19 +0000 |
---|---|---|
committer | theraven <theraven@FreeBSD.org> | 2013-02-07 13:09:19 +0000 |
commit | fab14d3df75fc3af83c06ed85bb9c068f1144351 (patch) | |
tree | d1f057460d329356b56f67bf5740b7393c925844 /include/algorithm | |
parent | 3deb12eac5b63fcfb8306b76b41032a9083ae563 (diff) | |
download | FreeBSD-src-fab14d3df75fc3af83c06ed85bb9c068f1144351.zip FreeBSD-src-fab14d3df75fc3af83c06ed85bb9c068f1144351.tar.gz |
Import new libc++ to vendor branch.
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 0f6107b..e24f979 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; |