Notifier: Change back to constructor from ATOMIC_VAR_INIT.

Change-Id: Ia0addacee57f03e12f2ca12f7b5a1ba29d913ac4
This commit is contained in:
Peter Johnson
2015-11-21 22:17:11 -08:00
parent bd2a28f597
commit bafe4e56a7
2 changed files with 2 additions and 2 deletions

View File

@@ -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*)
{