mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 23:08:47 +00:00
Modernize std::find
with ranges
This commit is contained in:
parent
b5f7a50874
commit
6ca7e2856b
7 changed files with 10 additions and 10 deletions
|
@ -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())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue