Skip to content

Commit

Permalink
Fix stupidness
Browse files Browse the repository at this point in the history
  • Loading branch information
miscco committed Jul 28, 2020
1 parent ba4baa0 commit e6b23b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stl/inc/algorithm
Original file line number Diff line number Diff line change
Expand Up @@ -4975,8 +4975,8 @@ namespace ranges {
} else if constexpr (bidirectional_iterator<_It>) {
_RANGES _Reverse_common(_First, _Mid);
_RANGES _Reverse_common(_Mid, _End);
auto _Result = _RANGES _Reverse_until_sentinel_unchecked(_First, _Mid, _Last);
_RANGES _Reverse_unchecked(_Result.in1, _Result.in2);
auto _Result = _Reverse_until_sentinel_unchecked(_First, _Mid, _Last);
_RANGES _Reverse_common(_Result.in1, _Result.in2);

if (_Result.in1 == _Mid) {
return {_STD move(_Result.in2), _STD move(_Last)};
Expand Down

0 comments on commit e6b23b8

Please sign in to comment.