From 19da1011648beb324122f36e6da4cd14cc4c7217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sat, 2 May 2020 14:39:40 +0200 Subject: Remove redundant Config prefix from ConfigInfo/ConfigLocation Both structs are already in the Config namespace. --- Source/Core/Common/Config/ConfigInfo.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Core/Common/Config/ConfigInfo.cpp') 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; -- cgit v1.2.3