diff options
| author | mitaclaw <140017135+mitaclaw@users.noreply.github.com> | 2024-09-20 22:18:04 -0700 |
|---|---|---|
| committer | mitaclaw <140017135+mitaclaw@users.noreply.github.com> | 2024-10-10 15:28:11 -0700 |
| commit | 6ca7e2856bd704a687e8408bf7ed92b23672c7fa (patch) | |
| tree | 44cb8454446e47555437543a069a106b8295e3f9 /Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp | |
| parent | b5f7a508742671410c44fc6f0e66d0ce789c3b57 (diff) | |
Modernize `std::find` with ranges
Diffstat (limited to 'Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp b/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp index 0fc875401c..76a6d11cdd 100644 --- a/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp +++ b/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp @@ -396,7 +396,7 @@ void GeckoCodeWidget::DownloadCodes() for (const auto& code : codes) { - auto it = std::find(m_gecko_codes.begin(), m_gecko_codes.end(), code); + auto it = std::ranges::find(m_gecko_codes, code); if (it == m_gecko_codes.end()) { |
