Fixed compilation on OSX [broken long ago by attempting to support OSX10.5]

This commit is contained in:
renaud gaudin 2013-05-01 15:29:21 +00:00
parent 8fcd9583c4
commit ea3f698d6f
1 changed files with 6 additions and 6 deletions

View File

@ -180,7 +180,7 @@ string getExecutablePath() {
bool writeTextFile(const string &path, const string &content) {
std::ofstream file;
file.open(path);
file.open(path.c_str());
file << content;
file.close();
return true;