File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
libcxx/include/__algorithm Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -696,9 +696,8 @@ __partition_with_equals_on_left(_RandomAccessIterator __first, _RandomAccessIter
696
696
using _Ops = _IterOps<_AlgPolicy>;
697
697
typedef typename iterator_traits<_RandomAccessIterator>::difference_type difference_type;
698
698
typedef typename std::iterator_traits<_RandomAccessIterator>::value_type value_type;
699
- // TODO(LLVM18): Make __begin const, see https://reviews.llvm.org/D147089#4349748
700
- _RandomAccessIterator __begin = __first; // used for bounds checking, those are not moved around
701
- const _RandomAccessIterator __end = __last;
699
+ const _RandomAccessIterator __begin = __first; // used for bounds checking, those are not moved around
700
+ const _RandomAccessIterator __end = __last;
702
701
(void )__end; //
703
702
value_type __pivot (_Ops::__iter_move (__first));
704
703
if (__comp (__pivot, *(__last - difference_type (1 )))) {
You can’t perform that action at this time.
0 commit comments