Skip to content

Commit d6cf373

Browse files
committed
Fix audits
1 parent f1268e6 commit d6cf373

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/gfx/timsort.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -705,10 +705,10 @@ auto timmerge(Iterator first, Iterator middle, Sentinel last,
705705
-> Iterator
706706
{
707707
auto last_it = std::ranges::next(first, last);
708-
GFX_TIMSORT_AUDIT(std::is_sorted(first, middle, comp, proj) && "Precondition");
709-
GFX_TIMSORT_AUDIT(std::is_sorted(middle, last_it, comp, proj) && "Precondition");
708+
GFX_TIMSORT_AUDIT(std::ranges::is_sorted(first, middle, comp, proj) && "Precondition");
709+
GFX_TIMSORT_AUDIT(std::ranges::is_sorted(middle, last_it, comp, proj) && "Precondition");
710710
detail::TimSort<Iterator, Compare, Projection>::merge(first, middle, last_it, comp, proj);
711-
GFX_TIMSORT_AUDIT(std::is_sorted(first, last_it, comp, proj) && "Postcondition");
711+
GFX_TIMSORT_AUDIT(std::ranges::is_sorted(first, last_it, comp, proj) && "Postcondition");
712712
return last_it;
713713
}
714714

@@ -745,7 +745,7 @@ auto timsort(Iterator first, Sentinel last,
745745
{
746746
auto last_it = std::ranges::next(first, last);
747747
detail::TimSort<Iterator, Compare, Projection>::sort(first, last_it, comp, proj);
748-
GFX_TIMSORT_AUDIT(std::is_sorted(first, last_it, comp, proj) && "Postcondition");
748+
GFX_TIMSORT_AUDIT(std::ranges::is_sorted(first, last_it, comp, proj) && "Postcondition");
749749
return last_it;
750750
}
751751

0 commit comments

Comments
 (0)