mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
Notifier: Change back to constructor from ATOMIC_VAR_INIT.
Change-Id: Ia0addacee57f03e12f2ca12f7b5a1ba29d913ac4
This commit is contained in:
@@ -21,7 +21,7 @@ struct Notifier {
|
||||
};
|
||||
static Notifier *notifiers = nullptr;
|
||||
static std::atomic_flag notifierAtexitRegistered = ATOMIC_FLAG_INIT;
|
||||
static std::atomic_int notifierRefCount = ATOMIC_VAR_INIT(0);
|
||||
static std::atomic_int notifierRefCount{0};
|
||||
|
||||
static void alarmCallback(uint32_t, void*)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user