Modernize std::find with ranges

This commit is contained in:
mitaclaw committed 2024-10-10 15:28:11 -07:00
1 parent b5f7a50874
commit 6ca7e2856b
7 files changed
+10 -10

No files matched your search

@@ -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())
{