From 3bde282156580e952ca32a63c1350ac309b530f0 Mon Sep 17 00:00:00 2001 From: Chuck Atkins Date: Tue, 9 Feb 2021 10:12:52 -0500 Subject: [PATCH] ci: Fix formatting --- source/adios2/core/Group.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/source/adios2/core/Group.cpp b/source/adios2/core/Group.cpp index b0cc324384..41ee8e29f6 100644 --- a/source/adios2/core/Group.cpp +++ b/source/adios2/core/Group.cpp @@ -183,8 +183,7 @@ std::vector Group::AvailableAttributes() std::string variablePath = currentPath + groupDelimiter + v; variablePath = variablePath.substr( ADIOS_root.size() + 1, variablePath.size() - ADIOS_root.size()); - if (attributes.find(variablePath) != - attributes.end()) + if (attributes.find(variablePath) != attributes.end()) { available_attributes.push_back(v); } @@ -201,11 +200,11 @@ std::vector Group::AvailableGroups() std::set val = mapPtr->treeMap[currentPath]; { for (auto v : val) - { - if (mapPtr->treeMap.find(currentPath + groupDelimiter + v) != - mapPtr->treeMap.end()) - available_groups.push_back(v); - } + { + if (mapPtr->treeMap.find(currentPath + groupDelimiter + v) != + mapPtr->treeMap.end()) + available_groups.push_back(v); + } } return available_groups; }