summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp
diff options
context:
space:
mode:
authormitaclaw <140017135+mitaclaw@users.noreply.github.com>2024-09-20 22:18:04 -0700
committermitaclaw <140017135+mitaclaw@users.noreply.github.com>2024-10-10 15:28:11 -0700
commit6ca7e2856bd704a687e8408bf7ed92b23672c7fa (patch)
tree44cb8454446e47555437543a069a106b8295e3f9 /Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp
parentb5f7a508742671410c44fc6f0e66d0ce789c3b57 (diff)
Modernize `std::find` with ranges
Diffstat (limited to 'Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp2
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())
{