fixed crash for Windows

This commit is contained in:
orignal 2014-11-01 21:48:26 -04:00
parent a8acb8ebb4
commit f7791e5289

View file

@ -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)