summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Config/Config.cpp
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2017-10-30 16:22:37 +0000
committerMerryMage <MerryMage@users.noreply.github.com>2017-11-15 18:04:40 +0000
commitec7b84c5f2f68ce8aae35c2dc12854117414f72b (patch)
tree18407861b3e0f12d761a67d66cb9527ac04a3230 /Source/Core/Common/Config/Config.cpp
parentc8f970e2b04709280ef144ff135dac15945d21b2 (diff)
Config: Extract ConfigInfo into own header
Diffstat (limited to 'Source/Core/Common/Config/Config.cpp')
-rw-r--r--Source/Core/Common/Config/Config.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/Source/Core/Common/Config/Config.cpp b/Source/Core/Common/Config/Config.cpp
index eb763c3632..abb2304749 100644
--- a/Source/Core/Common/Config/Config.cpp
+++ b/Source/Core/Common/Config/Config.cpp
@@ -126,21 +126,6 @@ const std::string& GetLayerName(LayerType layer)
return layer_to_name.at(layer);
}
-bool ConfigLocation::operator==(const ConfigLocation& other) const
-{
- return std::tie(system, section, key) == std::tie(other.system, other.section, other.key);
-}
-
-bool ConfigLocation::operator!=(const ConfigLocation& other) const
-{
- return !(*this == other);
-}
-
-bool ConfigLocation::operator<(const ConfigLocation& other) const
-{
- return std::tie(system, section, key) < std::tie(other.system, other.section, other.key);
-}
-
LayerType GetActiveLayerForConfig(const ConfigLocation& config)
{
for (auto layer : SEARCH_ORDER)