summaryrefslogtreecommitdiff
path: root/Source/Core/Common/IniFile.cpp
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2024-08-14 23:54:16 +0100
committerGitHub <noreply@github.com>2024-08-14 23:54:16 +0100
commit18ac8bf4055093d5aece0e631d04e4d38ec8f0c6 (patch)
tree44fe8038aada312f60396c18053e2bd04f564619 /Source/Core/Common/IniFile.cpp
parent1e8b3a58b2ef312e0904d7fbb2a37efaee96dc8f (diff)
parent618b41a4593032a5c374069b37369e91ecf5db9e (diff)
Merge pull request #12990 from tygyh/Use-contains-method
Use 'contains' method
Diffstat (limited to 'Source/Core/Common/IniFile.cpp')
-rw-r--r--Source/Core/Common/IniFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/IniFile.cpp b/Source/Core/Common/IniFile.cpp
index 2aed1b805f..ab20ff58fd 100644
--- a/Source/Core/Common/IniFile.cpp
+++ b/Source/Core/Common/IniFile.cpp
@@ -75,7 +75,7 @@ bool IniFile::Section::Get(std::string_view key, std::string* value,
bool IniFile::Section::Exists(std::string_view key) const
{
- return values.find(key) != values.end();
+ return values.contains(key);
}
bool IniFile::Section::Delete(std::string_view key)