mirror of https://github.com/AxioDL/metaforce.git
More portable std::atomic_bool initialization
This commit is contained in:
parent
d7c5dff1f0
commit
0bf5499717
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue