diff options
| author | Tilka <tilkax@gmail.com> | 2024-10-11 20:27:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-11 20:27:18 +0100 |
| commit | c1832d17f657ba885815f53881784ea12a87c532 (patch) | |
| tree | 6f0b99411b4bfbc562e6a2a91d3c4d81ee8896d4 /Source/Core/DiscIO/VolumeVerifier.cpp | |
| parent | d374284d929b6852db6a43e6a79d71679fb21a61 (diff) | |
| parent | d296b2613c87ab155fadfede425b460e7b077d0c (diff) | |
Merge pull request #13117 from mitaclaw/ranges-modernization-9-trivial-find
Ranges Algorithms Modernization - Find
Diffstat (limited to 'Source/Core/DiscIO/VolumeVerifier.cpp')
| -rw-r--r-- | Source/Core/DiscIO/VolumeVerifier.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/VolumeVerifier.cpp b/Source/Core/DiscIO/VolumeVerifier.cpp index 5a4a9c6856..e6da0fcc3e 100644 --- a/Source/Core/DiscIO/VolumeVerifier.cpp +++ b/Source/Core/DiscIO/VolumeVerifier.cpp @@ -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: |
