Fixed msys2 build crash

This commit is contained in:
SChernykh
2021-10-31 14:19:49 +01:00
parent b56d027dd5
commit 998c2ba72f
4 changed files with 10 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ public:
: m_writePos(0)
, m_readPos(0)
{
is_main_thread = true;
set_main_thread();
m_logFile.open(log_file_name, std::ios::app | std::ios::binary);