summaryrefslogtreecommitdiff
path: root/Source/Core/Common/IniFile.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2024-09-26 18:24:36 -0400
committerGitHub <noreply@github.com>2024-09-26 18:24:36 -0400
commitb1cd4a6690241f2372fc7ef1471e4e23f1366ac1 (patch)
tree239ac4e42d0cd99c6d0344ded7bb7decc55ac69b /Source/Core/Common/IniFile.cpp
parentd4d3acb79637b683fcd2ce52f420200fb70b87c9 (diff)
parent508ccc2054590a9efa89054e742b74521f272063 (diff)
Merge pull request #13068 from mitaclaw/redundant-case-insensitive
IniFile: Migrate `Common::CaseInsensitiveLess` to StringUtil
Diffstat (limited to 'Source/Core/Common/IniFile.cpp')
-rw-r--r--Source/Core/Common/IniFile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/IniFile.cpp b/Source/Core/Common/IniFile.cpp
index ab20ff58fd..a7ce26976b 100644
--- a/Source/Core/Common/IniFile.cpp
+++ b/Source/Core/Common/IniFile.cpp
@@ -130,7 +130,7 @@ const IniFile::Section* IniFile::GetSection(std::string_view section_name) const
{
for (const Section& sect : sections)
{
- if (CaseInsensitiveStringCompare::IsEqual(sect.name, section_name))
+ if (CaseInsensitiveEquals(sect.name, section_name))
return &sect;
}
@@ -141,7 +141,7 @@ IniFile::Section* IniFile::GetSection(std::string_view section_name)
{
for (Section& sect : sections)
{
- if (CaseInsensitiveStringCompare::IsEqual(sect.name, section_name))
+ if (CaseInsensitiveEquals(sect.name, section_name))
return &sect;
}