diff options
| author | mitaclaw <140017135+mitaclaw@users.noreply.github.com> | 2024-09-20 22:18:04 -0700 |
|---|---|---|
| committer | mitaclaw <140017135+mitaclaw@users.noreply.github.com> | 2024-10-10 15:28:11 -0700 |
| commit | 6ca7e2856bd704a687e8408bf7ed92b23672c7fa (patch) | |
| tree | 44cb8454446e47555437543a069a106b8295e3f9 /Source/Core/Common/IniFile.cpp | |
| parent | b5f7a508742671410c44fc6f0e66d0ce789c3b57 (diff) | |
Modernize `std::find` with ranges
Diffstat (limited to 'Source/Core/Common/IniFile.cpp')
| -rw-r--r-- | Source/Core/Common/IniFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/IniFile.cpp b/Source/Core/Common/IniFile.cpp index a7ce26976b..b345f6c0fe 100644 --- a/Source/Core/Common/IniFile.cpp +++ b/Source/Core/Common/IniFile.cpp @@ -85,7 +85,7 @@ bool IniFile::Section::Delete(std::string_view key) return false; values.erase(it); - keys_order.erase(std::find(keys_order.begin(), keys_order.end(), key)); + keys_order.erase(std::ranges::find(keys_order, key)); return true; } |
