diff options
| author | MerryMage <MerryMage@users.noreply.github.com> | 2017-10-29 19:17:58 +0000 |
|---|---|---|
| committer | MerryMage <MerryMage@users.noreply.github.com> | 2017-11-15 18:04:40 +0000 |
| commit | c8f970e2b04709280ef144ff135dac15945d21b2 (patch) | |
| tree | 830d4e96b9aba0101d2453f81deaa1cd327f4094 /Source/Core/Common/Config/Config.cpp | |
| parent | f612569718f9114af98c9454da8ee2fd44f2b5c3 (diff) | |
Config: Remove recursive layer
Diffstat (limited to 'Source/Core/Common/Config/Config.cpp')
| -rw-r--r-- | Source/Core/Common/Config/Config.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/Core/Common/Config/Config.cpp b/Source/Core/Common/Config/Config.cpp index 339155dbe3..eb763c3632 100644 --- a/Source/Core/Common/Config/Config.cpp +++ b/Source/Core/Common/Config/Config.cpp @@ -17,11 +17,6 @@ static std::list<ConfigChangedCallback> s_callbacks; void InvokeConfigChangedCallbacks(); -Section* GetOrCreateSection(System system, const std::string& section_name) -{ - return s_layers[LayerType::Meta]->GetOrCreateSection(system, section_name); -} - Layers* GetLayers() { return &s_layers; @@ -83,8 +78,6 @@ void Init() { // These layers contain temporary values ClearCurrentRunLayer(); - // This layer always has to exist - s_layers[LayerType::Meta] = std::make_unique<RecursiveLayer>(); } void Shutdown() @@ -129,7 +122,6 @@ const std::string& GetLayerName(LayerType layer) {LayerType::Movie, "Movie"}, {LayerType::CommandLine, "Command Line"}, {LayerType::CurrentRun, "Current Run"}, - {LayerType::Meta, "Top"}, }; return layer_to_name.at(layer); } |
