mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Modernize std::equal with ranges
This commit is contained in:
@@ -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{});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user