diff options
| author | JMC47 <JMC4789@gmail.com> | 2024-12-26 16:51:53 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-26 16:51:53 -0500 |
| commit | 532a8621daa5c0d8a3a55f64ffba9cb20209d455 (patch) | |
| tree | 21837ec63b1fe4a45a162a1f1bf4167efcd4d177 /Source/Core/DiscIO/RiivolutionPatcher.cpp | |
| parent | f9ce2b9d764014ab59cf2c19e49c2c848604e6fc (diff) | |
| parent | 2b0cd16c8c266bc1e298e49d4009eab8c9c23f99 (diff) | |
Merge pull request #13116 from mitaclaw/ranges-modernization-8-trivial-of
Ranges Algorithms Modernization - Of
Diffstat (limited to 'Source/Core/DiscIO/RiivolutionPatcher.cpp')
| -rw-r--r-- | Source/Core/DiscIO/RiivolutionPatcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/RiivolutionPatcher.cpp b/Source/Core/DiscIO/RiivolutionPatcher.cpp index eff36077f9..9dce9e9a8f 100644 --- a/Source/Core/DiscIO/RiivolutionPatcher.cpp +++ b/Source/Core/DiscIO/RiivolutionPatcher.cpp @@ -104,7 +104,7 @@ FileDataLoaderHostFS::MakeAbsoluteFromRelative(std::string_view external_relativ result.pop_back(); result.pop_back(); } - else if (std::all_of(element.begin(), element.end(), [](char c) { return c == '.'; })) + else if (std::ranges::all_of(element, [](char c) { return c == '.'; })) { // This is a triple, quadruple, etc. dot. // Some file systems treat this as several 'up' path traversals, but Riivolution does not. |
