Author: marshall
Date: Mon Dec 22 13:10:11 2014
New Revision: 224723
URL: http://llvm.org/viewvc/llvm-project?rev=224723&view=rev
Log:
Fix PR22000. __bit_iterator::move_backwards. Also make a note that
__bit_iterator
is quite underrepresented in the libc++ tests suite.
Modified:
libcxx/trunk/include/__bit_reference
Modified: libcxx/trunk/include/__bit_reference
URL:
http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__bit_reference?rev=224723&r1=224722&r2=224723&view=diff
==============================================================================
--- libcxx/trunk/include/__bit_reference (original)
+++ libcxx/trunk/include/__bit_reference Mon Dec 22 13:10:11 2014
@@ -705,7 +705,7 @@ inline _LIBCPP_INLINE_VISIBILITY
__bit_iterator<_Cp, false>
move_backward(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp,
_IsConst> __last, __bit_iterator<_Cp, false> __result)
{
- return _VSTD::copy(__first, __last, __result);
+ return _VSTD::copy_backward(__first, __last, __result);
}
// swap_ranges
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits