Another Win32 fix.
authorCarl Hetherington <cth@carlh.net>
Sat, 19 Oct 2013 19:13:16 +0000 (20:13 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 19 Oct 2013 19:13:16 +0000 (20:13 +0100)
src/lib/log.cc

index d50769dfe40b6f6508da7ebf94983974511ccc3c..86de21bddf8f586ab00c21005ace6c079ac4f977 100644 (file)
@@ -102,7 +102,7 @@ FileLog::FileLog (boost::filesystem::path file)
 void
 FileLog::do_log (string m)
 {
-       ofstream f (_file.c_str(), fstream::app);
+       ofstream f (_file.string().c_str(), fstream::app);
        f << m << N_("\n");
 }