Skip to content

Commit

Permalink
re #8924 mac fix for old std libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
NickDraper committed Nov 26, 2014
1 parent 6825f84 commit dc0ef46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/Kernel/src/ChecksumHelper.cpp
Expand Up @@ -27,7 +27,7 @@ namespace ChecksumHelper
*/
std::string loadFile(const std::string & filepath, const bool unixEOL = false)
{
std::ifstream filein(filepath, std::ios::in | std::ios::binary);
std::ifstream filein(filepath.c_str(), std::ios::in | std::ios::binary);
if(!filein) return "";

std::string contents;
Expand Down

0 comments on commit dc0ef46

Please sign in to comment.