summaryrefslogtreecommitdiff
path: root/Source/Core/UICommon/CommandLineParse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/UICommon/CommandLineParse.cpp')
-rw-r--r--Source/Core/UICommon/CommandLineParse.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/Source/Core/UICommon/CommandLineParse.cpp b/Source/Core/UICommon/CommandLineParse.cpp
index cf47bd8a5c..236cd86ba2 100644
--- a/Source/Core/UICommon/CommandLineParse.cpp
+++ b/Source/Core/UICommon/CommandLineParse.cpp
@@ -45,18 +45,15 @@ public:
}
}
- void Load(Config::Layer* config_layer) override
+ void Load(Config::Layer* layer) override
{
for (auto& value : m_values)
{
- const Config::ConfigLocation location = std::get<0>(value);
- Config::Section* section =
- config_layer->GetOrCreateSection(location.system, location.section);
- section->Set(location.key, std::get<1>(value));
+ layer->Set(std::get<0>(value), std::get<1>(value));
}
}
- void Save(Config::Layer* config_layer) override
+ void Save(Config::Layer* layer) override
{
// Save Nothing
}