From aecc45789d5ec4bc0bcf086de519d16a9a249397 Mon Sep 17 00:00:00 2001 From: Anthony Lim <anthony.lim@stfc.ac.uk> Date: Tue, 11 Jul 2017 14:25:05 +0100 Subject: [PATCH] refs #19938 clang format --- .../src/Muon/MuonAnalysis.cpp | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/MantidQt/CustomInterfaces/src/Muon/MuonAnalysis.cpp b/MantidQt/CustomInterfaces/src/Muon/MuonAnalysis.cpp index 8f4ad811edc..61bd89b31ef 100644 --- a/MantidQt/CustomInterfaces/src/Muon/MuonAnalysis.cpp +++ b/MantidQt/CustomInterfaces/src/Muon/MuonAnalysis.cpp @@ -1538,14 +1538,15 @@ void MuonAnalysis::updateFrontAndCombo(bool updateIndexAndPlot) { * sets the selected groups and pairs */ void MuonAnalysis::setGroupsAndPairs() { - auto names = m_groupingHelper.parseGroupingTable().pairNames; - auto tmp = m_groupingHelper.parseGroupingTable().groupNames; - names.insert(std::end(names), std::make_move_iterator(tmp.begin()), std::make_move_iterator(tmp.end())); - QStringList GroupsAndPairsNames; - for (const auto &name : names) { - GroupsAndPairsNames << QString::fromStdString(name); - } - m_uiForm.fitBrowser->setAvailableGroups(GroupsAndPairsNames); + auto names = m_groupingHelper.parseGroupingTable().pairNames; + auto tmp = m_groupingHelper.parseGroupingTable().groupNames; + names.insert(std::end(names), std::make_move_iterator(tmp.begin()), + std::make_move_iterator(tmp.end())); + QStringList GroupsAndPairsNames; + for (const auto &name : names) { + GroupsAndPairsNames << QString::fromStdString(name); + } + m_uiForm.fitBrowser->setAvailableGroups(GroupsAndPairsNames); } /** @@ -1897,7 +1898,7 @@ void MuonAnalysis::selectMultiPeak(const QString &wsName, std::back_inserter(groupsAndPairs), &QString::fromStdString); std::transform(groups.pairNames.begin(), groups.pairNames.end(), std::back_inserter(groupsAndPairs), &QString::fromStdString); - setGroupsAndPairs(); + setGroupsAndPairs(); m_uiForm.fitBrowser->setNumPeriods(m_numPeriods); // Set the selected run, group/pair and period -- GitLab