Fix PR22000. __bit_iterator::move_backwards. Also make a note that __bit_iterator

is quite underrepresented in the libc++ tests suite.

llvm-svn: 224723
This commit is contained in:
Marshall Clow 2014-12-22 19:10:11 +00:00
parent a3ca1b8823
commit 08de4b0d4e
1 changed files with 1 additions and 1 deletions

View File

@ -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