Skip to content
Snippets Groups Projects
Commit b95844fc authored by Anthony Lim's avatar Anthony Lim
Browse files

refs #21961 muon fit browser uses split

parent a62c14d8
No related branches found
No related tags found
No related merge requests found
......@@ -1566,7 +1566,8 @@ bool MuonFitPropertyBrowser::isPeriodValid(const QString &name) {
return false;
} else {
std::vector<std::string> numbers;
boost::algorithm::split(numbers, name.toStdString(), boost::is_any_of(","));
std::string nameString = name.toStdString();
boost::algorithm::split(numbers, nameString, boost::is_any_of(","));
// loop over results
for (auto value : numbers) {
auto tmp = value.find("-");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment