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

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

parent c614caca
Branches
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ IntSequence::operator=(IntSequence&& s)
bool
IntSequence::operator==(const IntSequence& s) const
{
return std::equal(data, data + length, s.data, s.data + s.length);
return std::ranges::equal(data, data + length, s.data, s.data + s.length);
}
std::strong_ordering
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment