Skip to content

Commit

Permalink
Fixed build for OSX. Refs #7948.
Browse files Browse the repository at this point in the history
  • Loading branch information
wdzhou committed Oct 2, 2013
1 parent 796c101 commit 2a991dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ namespace Algorithms
// Write out
string outfilename = getPropertyValue("OutputFilename");
ofstream ofile;
ofile.open(outfilename, ios::out);
ofile.open(outfilename.c_str(), ios::out);
if (!ofile.is_open())
{
stringstream errss;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class FixGSASInstrumentFileTest : public CxxTest::TestSuite

// Check each line
ifstream chkfile;
chkfile.open(prmfilename, ios::in);
chkfile.open(prmfilename.c_str(), ios::in);
if (chkfile.is_open())
{
string line;
Expand Down

0 comments on commit 2a991dd

Please sign in to comment.