Skip to content
Snippets Groups Projects
Verified Commit a687398e authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

C++20 modernization: use std::ranges::is_sorted

parent fc28d046
Branches
No related tags found
No related merge requests found
......@@ -231,7 +231,7 @@ IntSequence::isConstant() const
bool
IntSequence::isSorted() const
{
return std::is_sorted(data, data + length);
return std::ranges::is_sorted(data, data + length);
}
/* Debug print. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment