mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Merge pull request #5403 from leoetlino/formatting
Config: Fix a formatting issue
This commit is contained in:
commit
ade0e51a78
1 changed files with 8 additions and 2 deletions
|
@ -68,9 +68,14 @@ Section* Layer::GetOrCreateSection(System system, const std::string& section_nam
|
||||||
if (!section)
|
if (!section)
|
||||||
{
|
{
|
||||||
if (m_layer == LayerType::Meta)
|
if (m_layer == LayerType::Meta)
|
||||||
m_sections[system].emplace_back(std::make_unique<RecursiveSection>(m_layer, system, section_name));
|
{
|
||||||
|
m_sections[system].emplace_back(
|
||||||
|
std::make_unique<RecursiveSection>(m_layer, system, section_name));
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
m_sections[system].emplace_back(std::make_unique<Section>(m_layer, system, section_name));
|
m_sections[system].emplace_back(std::make_unique<Section>(m_layer, system, section_name));
|
||||||
|
}
|
||||||
section = m_sections[system].back().get();
|
section = m_sections[system].back().get();
|
||||||
}
|
}
|
||||||
return section;
|
return section;
|
||||||
|
@ -140,7 +145,8 @@ Section* RecursiveLayer::GetOrCreateSection(System system, const std::string& se
|
||||||
Section* section = Layer::GetSection(system, section_name);
|
Section* section = Layer::GetSection(system, section_name);
|
||||||
if (!section)
|
if (!section)
|
||||||
{
|
{
|
||||||
m_sections[system].emplace_back(std::make_unique<RecursiveSection>(m_layer, system, section_name));
|
m_sections[system].emplace_back(
|
||||||
|
std::make_unique<RecursiveSection>(m_layer, system, section_name));
|
||||||
section = m_sections[system].back().get();
|
section = m_sections[system].back().get();
|
||||||
}
|
}
|
||||||
return section;
|
return section;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue