mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 09:59:32 -06: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