diff Core/Logging.cpp @ 1494:a13581480b1f

fix mingw build
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 05 Aug 2015 10:07:53 +0200
parents 596927722403
children fbe40117eb21
line wrap: on
line diff
--- a/Core/Logging.cpp	Tue Aug 04 14:58:56 2015 +0200
+++ b/Core/Logging.cpp	Wed Aug 05 10:07:53 2015 +0200
@@ -189,14 +189,12 @@
       boost::filesystem::path log, link;
       GetLogPath(log, link, level, directory);
 
-      printf("[%s]\n", log.string().c_str());
-
 #if !defined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__)))
       boost::filesystem::remove(link);
       boost::filesystem::create_symlink(log.filename(), link);
 #endif
 
-      file.reset(new std::ofstream(log.c_str()));
+      file.reset(new std::ofstream(log.string().c_str()));
       stream = file.get();
     }