Browse Source

fixed crash for Windows

pull/108/head
orignal 10 years ago
parent
commit
f7791e5289
  1. 3
      Log.cpp

3
Log.cpp

@ -20,8 +20,11 @@ void LogMsg::Process() @@ -20,8 +20,11 @@ void LogMsg::Process()
void Log::Flush ()
{
#ifdef _WIN32
if (m_LogFile)
m_LogFile->flush();
#endif
// TODO: find out what's wrong with flush for Windows
}
void Log::SetLogFile (const std::string& fullFilePath)

Loading…
Cancel
Save