Skip to content

Commit

Permalink
Unconditionally use workaround for DevCom-10452846
Browse files Browse the repository at this point in the history
Possibly conflicts with microsoft#4362.
  • Loading branch information
frederick-vs-ja committed Feb 3, 2024
1 parent 834d0db commit 8ce749b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions stl/inc/algorithm
Original file line number Diff line number Diff line change
Expand Up @@ -8232,13 +8232,9 @@ namespace ranges {
}

// divide and conquer by quicksort
#if defined(__clang__) || defined(__EDG__) // TRANSITION, DevCom-10452846
auto [_Mid_first, _Mid_last] = _RANGES _Partition_by_median_guess_common(_First, _Last, _Pred, _Proj);
#else // ^^^ no workaround / workaround vvv
auto _Mid = _RANGES _Partition_by_median_guess_common(_First, _Last, _Pred, _Proj);
auto _Mid_first = _Mid.begin();
auto _Mid_last = _Mid.end();
#endif // TRANSITION, DevCom-10452846

_Ideal = (_Ideal >> 1) + (_Ideal >> 2); // allow 1.5 log2(N) divisions

Expand Down

0 comments on commit 8ce749b

Please sign in to comment.