diff options
| author | Léo Lam <leo@leolam.fr> | 2020-05-03 14:07:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-03 14:07:41 +0200 |
| commit | 90ba73c6c2cdc6d92bff75f4e66d48b044ebdfac (patch) | |
| tree | 65e612f4bb02ee0d7cea8f5856afd0a52fd66626 /Source/Core/Common/Config/ConfigInfo.cpp | |
| parent | 8d4e8314a3dcd8680ae81d91fb7e076b4496b43b (diff) | |
| parent | 19da1011648beb324122f36e6da4cd14cc4c7217 (diff) | |
Merge pull request #8787 from leoetlino/config-config
Remove redundant Config prefix from ConfigInfo/ConfigLocation
Diffstat (limited to 'Source/Core/Common/Config/ConfigInfo.cpp')
| -rw-r--r-- | Source/Core/Common/Config/ConfigInfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Common/Config/ConfigInfo.cpp b/Source/Core/Common/Config/ConfigInfo.cpp index 1d4084c3c6..76c5933e27 100644 --- a/Source/Core/Common/Config/ConfigInfo.cpp +++ b/Source/Core/Common/Config/ConfigInfo.cpp @@ -9,18 +9,18 @@ namespace Config { -bool ConfigLocation::operator==(const ConfigLocation& other) const +bool Location::operator==(const Location& other) const { return system == other.system && strcasecmp(section.c_str(), other.section.c_str()) == 0 && strcasecmp(key.c_str(), other.key.c_str()) == 0; } -bool ConfigLocation::operator!=(const ConfigLocation& other) const +bool Location::operator!=(const Location& other) const { return !(*this == other); } -bool ConfigLocation::operator<(const ConfigLocation& other) const +bool Location::operator<(const Location& other) const { if (system != other.system) return system < other.system; |
