From 6185933d186840a4bf3a730df7515231f6bc2718 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Wed, 10 May 2017 17:55:44 +0200 Subject: [PATCH] Config: Fix a formatting issue Not sure why clang-format did not catch this on the lint builder, but it definitely doesn't like the lines being too long here. --- Source/Core/Common/Config/Layer.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Source/Core/Common/Config/Layer.cpp b/Source/Core/Common/Config/Layer.cpp index 1e17372c82..61f90538a0 100644 --- a/Source/Core/Common/Config/Layer.cpp +++ b/Source/Core/Common/Config/Layer.cpp @@ -68,9 +68,14 @@ Section* Layer::GetOrCreateSection(System system, const std::string& section_nam if (!section) { if (m_layer == LayerType::Meta) - m_sections[system].emplace_back(std::make_unique(m_layer, system, section_name)); + { + m_sections[system].emplace_back( + std::make_unique(m_layer, system, section_name)); + } else + { m_sections[system].emplace_back(std::make_unique
(m_layer, system, section_name)); + } section = m_sections[system].back().get(); } return section; @@ -140,7 +145,8 @@ Section* RecursiveLayer::GetOrCreateSection(System system, const std::string& se Section* section = Layer::GetSection(system, section_name); if (!section) { - m_sections[system].emplace_back(std::make_unique(m_layer, system, section_name)); + m_sections[system].emplace_back( + std::make_unique(m_layer, system, section_name)); section = m_sections[system].back().get(); } return section;