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

@@ -15,7 +15,7 @@ Notifier *Notifier::timerQueueHead = nullptr;
priority_recursive_mutex Notifier::queueMutex;
priority_mutex Notifier::halMutex;
void *Notifier::m_notifier = nullptr;
std::atomic<int> Notifier::refcount = ATOMIC_VAR_INIT(0);
std::atomic<int> Notifier::refcount{0};
/**
* Create a Notifier for timer event notification.