2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-06-06 21:13:27 +00:00

More portable std::atomic_bool initialization

This commit is contained in:
Jack Andersen 2016-12-24 21:24:19 -10:00
parent d7c5dff1f0
commit 0bf5499717

View File

@ -50,7 +50,7 @@ public:
Frame Frame
}; };
private: private:
std::atomic_bool m_lock = false; std::atomic_bool m_lock = {false};
#if _WIN32 #if _WIN32
PROCESS_INFORMATION m_pinfo = {}; PROCESS_INFORMATION m_pinfo = {};
std::thread m_consoleThread; std::thread m_consoleThread;