diff --git a/Framework/CurveFitting/src/Algorithms/PlotPeakByLogValue.cpp b/Framework/CurveFitting/src/Algorithms/PlotPeakByLogValue.cpp index 6ac524346e2ba9fe82bb78948bbe25e1c74e0cc9..a824d607f15faddd88188e0c5e7d3e1384a7f036 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);