summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2024-10-11 20:27:18 +0100
committerGitHub <noreply@github.com>2024-10-11 20:27:18 +0100
commitc1832d17f657ba885815f53881784ea12a87c532 (patch)
tree6f0b99411b4bfbc562e6a2a91d3c4d81ee8896d4 /Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp
parentd374284d929b6852db6a43e6a79d71679fb21a61 (diff)
parentd296b2613c87ab155fadfede425b460e7b077d0c (diff)
Merge pull request #13117 from mitaclaw/ranges-modernization-9-trivial-find
Ranges Algorithms Modernization - Find
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())
{