Merge pull request #12990 from tygyh/Use-contains-method

Use 'contains' method
This commit is contained in:
Tilka
2024-08-14 23:54:16 +01:00
committed by GitHub
31 changed files with 46 additions and 52 deletions

View File

@ -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)