diff --git a/Code/Mantid/Framework/WorkflowAlgorithms/src/ConvolutionFitSequential.cpp b/Code/Mantid/Framework/WorkflowAlgorithms/src/ConvolutionFitSequential.cpp index 054979fa2c9cf4aad0e1caafc7e1c1b437de1432..1ef71a5d25660ee74c528217552955e446021787 100644 --- a/Code/Mantid/Framework/WorkflowAlgorithms/src/ConvolutionFitSequential.cpp +++ b/Code/Mantid/Framework/WorkflowAlgorithms/src/ConvolutionFitSequential.cpp @@ -207,7 +207,7 @@ void ConvolutionFitSequential::exec() { std::string plotPeakInput = ""; for (int i = 0; i < specMax + 1; i++) { std::string nextWs = tempFitWsName + ",i"; - nextWs += std::to_string(i); + nextWs += boost::lexical_cast<std::string>(i); plotPeakInput += nextWs + ";"; } diff --git a/Code/Mantid/MantidQt/CustomInterfaces/src/Indirect/ConvFit.cpp b/Code/Mantid/MantidQt/CustomInterfaces/src/Indirect/ConvFit.cpp index a6f6415c8eb7c8cb0966b61780bbe6241ff4fef2..850bfe47c14280309f767952eb7bd027acc36850 100644 --- a/Code/Mantid/MantidQt/CustomInterfaces/src/Indirect/ConvFit.cpp +++ b/Code/Mantid/MantidQt/CustomInterfaces/src/Indirect/ConvFit.cpp @@ -277,7 +277,7 @@ void ConvFit::run() { addSaveWorkspaceToQueue(QresultWsName, fullPath); } - if (!plot.compare("None") == 0) { + if (!(plot.compare("None") == 0)) { if (plot.compare("All") == 0) { int specEnd = (int)resultWs->getNumberHistograms(); for (int i = 0; i < specEnd; i++) {