From d19c702291ff3bd9e769a152e7db96e17f5167f7 Mon Sep 17 00:00:00 2001 From: theraven Date: Thu, 7 Feb 2013 15:45:28 +0000 Subject: Import new libc++ to head. Various small fixes and cleanups. MFC after: 2 weeks --- contrib/libc++/include/algorithm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/libc++/include/algorithm') diff --git a/contrib/libc++/include/algorithm b/contrib/libc++/include/algorithm index 0f6107b..e24f979 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 +template 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; -- cgit v1.1