From 18b1143b0c93cab2af5c97d913f80e4678dbbe36 Mon Sep 17 00:00:00 2001 From: Nick Draper <nick.draper@stfc.ac.uk> Date: Fri, 6 Mar 2020 13:44:23 +0000 Subject: [PATCH] clang formatting for this PR --- .../DataHandling/inc/MantidDataHandling/LoadMuonLog.h | 3 ++- Framework/DataHandling/src/LoadMuonLog.cpp | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Framework/DataHandling/inc/MantidDataHandling/LoadMuonLog.h b/Framework/DataHandling/inc/MantidDataHandling/LoadMuonLog.h index f0ca96c1fc4..6c32c0b0ceb 100644 --- a/Framework/DataHandling/inc/MantidDataHandling/LoadMuonLog.h +++ b/Framework/DataHandling/inc/MantidDataHandling/LoadMuonLog.h @@ -69,7 +69,8 @@ private: void exec() override; /// Adds a log to the workspace void addLogValueFromIndex(MuonNexusReader &nxload, const int &index, - API::MatrixWorkspace_sptr &localWorkspace, std::set<std::string> &logNames); + API::MatrixWorkspace_sptr &localWorkspace, + std::set<std::string> &logNames); /// The name and path of an input file. This may be the filename of a raw /// datafile or the name of a specific log file. std::string m_filename; diff --git a/Framework/DataHandling/src/LoadMuonLog.cpp b/Framework/DataHandling/src/LoadMuonLog.cpp index ebce31dd06e..4b41ff77cc4 100644 --- a/Framework/DataHandling/src/LoadMuonLog.cpp +++ b/Framework/DataHandling/src/LoadMuonLog.cpp @@ -105,14 +105,15 @@ void LoadMuonLog::addLogValueFromIndex( // check if log name already exists if (logNames.find(logNameLower) != logNames.end()) { g_log.warning("The log " + newLogName + - " is already in the nexus file. The sample log names are case insensitive."); + " is already in the nexus file. The sample log names are " + "case insensitive."); return; } logNames.insert(newLogName); - auto l_PropertyDouble = + auto l_PropertyDouble = std::make_unique<TimeSeriesProperty<double>>(newLogName); auto l_PropertyString = - std::make_unique<TimeSeriesProperty<std::string>>(newLogName); + std::make_unique<TimeSeriesProperty<std::string>>(newLogName); // Read log file into Property which is then stored in Sample object if (!nxload.logTypeNumeric(index)) { -- GitLab