Commit 98bfc314 authored by Walsh, Michael's avatar Walsh, Michael
Browse files

pass by reference name

parent 3e669dcb
......@@ -70,7 +70,7 @@ API::ITableWorkspace_sptr CombineDiffCal::sortTableWorkspace(DataObjects::TableW
return alg->getProperty("OutputWorkspace");
}
bool findColumn(const std::vector<std::string> &columnNames, const std::string name) {
bool findColumn(const std::vector<std::string> &columnNames, const std::string &name) {
return std::find(columnNames.begin(), columnNames.end(), name) != columnNames.end();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment