mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-03 16:16:05 +00:00
Merge pull request #12990 from tygyh/Use-contains-method
Use 'contains' method
This commit is contained in:
commit
18ac8bf405
31 changed files with 46 additions and 52 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue