notify: use C++11 initializer
This commit is contained in:
parent
7ec707927d
commit
a421c1dbfb
@ -26,12 +26,7 @@
|
||||
struct notify {
|
||||
Mutex mutex;
|
||||
Cond cond;
|
||||
bool pending;
|
||||
|
||||
#ifdef __GLIBC__
|
||||
constexpr
|
||||
#endif
|
||||
notify():pending(false) {}
|
||||
bool pending = false;
|
||||
|
||||
/**
|
||||
* Wait for a notification. Return immediately if we have already
|
||||
|
Loading…
Reference in New Issue
Block a user