mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix: ATOMIC_FLAG_INIT can't be used inside braces initializer
This commit is contained in:
parent
f97c776a87
commit
f790747f2a
@ -38,7 +38,7 @@
|
||||
|
||||
namespace detail {
|
||||
|
||||
static std::atomic_flag g_signalSocketUsageFlag{ATOMIC_FLAG_INIT};
|
||||
static std::atomic_flag g_signalSocketUsageFlag = ATOMIC_FLAG_INIT;
|
||||
static std::array<int, 2> g_signalSocketPair;
|
||||
|
||||
static void signalHandler(int signum)
|
||||
|
Loading…
x
Reference in New Issue
Block a user