Skip to content

Commit

Permalink
Merge pull request #408 from mantidproject/11376_to_string
Browse files Browse the repository at this point in the history
Thanks for fixing the bug, Owen
  • Loading branch information
raquelalvarezbanos committed Mar 18, 2015
2 parents 187ab5a + 9c7750a commit 0a5283f
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -9,6 +9,7 @@
#include <QApplication>
#include <QFileInfo>
#include <QDir>
#include <sstream>

using namespace Mantid::Kernel;
using namespace Mantid::API;
Expand Down Expand Up @@ -139,7 +140,9 @@ namespace CustomInterfaces
std::vector<std::string> periods;
for (size_t i=0; i<numPeriods; i++)
{
periods.push_back(std::to_string(static_cast<long long int>(i)+1));
std::stringstream buffer;
buffer << i + 1;
periods.push_back(buffer.str());
}
m_view->setAvailablePeriods(periods);
}
Expand Down

0 comments on commit 0a5283f

Please sign in to comment.