mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-05-31 19:00:43 -04:00
Modernize std::find with ranges
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user