Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix: ATOMIC_FLAG_INIT can't be used inside braces initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
Diadlo committed Sep 26, 2017
1 parent f97c776 commit f790747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/posixsignalnotifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f790747

Please sign in to comment.