Skip to content
Snippets Groups Projects
Commit 4c64d061 authored by Arturs Bekasovs's avatar Arturs Bekasovs
Browse files

Fix build error on OS X due to incorrect constructor param type.

Refs #7557
parent dbcdbe9c
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ using namespace MantidQt::API; ...@@ -51,7 +51,7 @@ using namespace MantidQt::API;
*/ */
void saveGroupingToXML(const Grouping& g, const std::string& filename) void saveGroupingToXML(const Grouping& g, const std::string& filename)
{ {
std::ofstream outFile(filename); std::ofstream outFile(filename.c_str());
if (!outFile) if (!outFile)
throw Mantid::Kernel::Exception::FileError("Unable to open output file", filename); throw Mantid::Kernel::Exception::FileError("Unable to open output file", filename);
......
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