mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Modernize std::find_if
with ranges
In BTEmu.cpp, `std::mem_fn` was not necessary for the predicate to compile.
This commit is contained in:
@ -472,8 +472,7 @@ std::vector<Partition> VolumeVerifier::CheckPartitions()
|
||||
AddProblem(Severity::High, Common::GetStringT("The install partition is missing."));
|
||||
|
||||
if (ShouldHaveMasterpiecePartitions() &&
|
||||
types.cend() ==
|
||||
std::find_if(types.cbegin(), types.cend(), [](u32 type) { return type >= 0xFF; }))
|
||||
types.cend() == std::ranges::find_if(types, [](u32 type) { return type >= 0xFF; }))
|
||||
{
|
||||
// i18n: This string is referring to a game mode in Super Smash Bros. Brawl called Masterpieces
|
||||
// where you play demos of NES/SNES/N64 games. Official translations:
|
||||
|
Reference in New Issue
Block a user