From 6e95da7dc3de6f7435d23a8f821661c2d6ac38e4 Mon Sep 17 00:00:00 2001 From: Anton Piccardo-Selg <anton.piccardo-selg@tessella.com> Date: Wed, 1 Jun 2016 15:25:00 +0100 Subject: [PATCH] Formatting --- .../src/Algorithms/PlotPeakByLogValue.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Framework/CurveFitting/src/Algorithms/PlotPeakByLogValue.cpp b/Framework/CurveFitting/src/Algorithms/PlotPeakByLogValue.cpp index 6ac524346e2..a824d607f15 100644 --- a/Framework/CurveFitting/src/Algorithms/PlotPeakByLogValue.cpp +++ b/Framework/CurveFitting/src/Algorithms/PlotPeakByLogValue.cpp @@ -558,13 +558,12 @@ PlotPeakByLogValue::makeNames() const { try { start = boost::lexical_cast<double>(range[0]); end = boost::lexical_cast<double>(range[1]); - } - catch (boost::bad_lexical_cast &) { + } catch (boost::bad_lexical_cast &) { throw std::runtime_error( - std::string("Provided incorrect range values. Range is " - "specfifed by start_value:stop_value, but " - "provided ") + - range[0] + std::string(" and ") + range[1]); + std::string("Provided incorrect range values. Range is " + "specfifed by start_value:stop_value, but " + "provided ") + + range[0] + std::string(" and ") + range[1]); } if (start > end) std::swap(start, end); -- GitLab