diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2014-12-22 19:10:11 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2014-12-22 19:10:11 +0000 |
commit | 08de4b0d4e17e42efbb0b7686a2ef53864ec30bc (patch) | |
tree | cb6459d6981513f77401f75380fa71068709b1f1 /libcxx/include/__bit_reference | |
parent | a3ca1b8823e5521ad76ce63c13150f31de262f5f (diff) | |
download | llvm-08de4b0d4e17e42efbb0b7686a2ef53864ec30bc.tar.gz |
Fix PR22000. __bit_iterator::move_backwards. Also make a note that __bit_iterator
is quite underrepresented in the libc++ tests suite.
llvm-svn: 224723
Diffstat (limited to 'libcxx/include/__bit_reference')
-rw-r--r-- | libcxx/include/__bit_reference | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/__bit_reference b/libcxx/include/__bit_reference index d9ebfbe5e610..4938f44608f1 100644 --- a/libcxx/include/__bit_reference +++ b/libcxx/include/__bit_reference @@ -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 |