notify: use C++11 initializer

This commit is contained in:
Max Kellermann 2016-12-29 11:41:22 +01:00
parent 7ec707927d
commit a421c1dbfb

View File

@ -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