mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 00:59:44 +00:00
Modernize std::equal
with ranges
This commit is contained in:
parent
4cc5e1972a
commit
249defa72b
3 changed files with 6 additions and 8 deletions
|
@ -53,8 +53,7 @@ struct TwoPointCalibration
|
|||
}
|
||||
else
|
||||
{
|
||||
return std::equal(std::begin(max.data), std::end(max.data), std::begin(zero.data),
|
||||
std::not_equal_to<>());
|
||||
return std::ranges::equal(max.data, zero.data, std::ranges::not_equal_to{});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue