Commit a421c1db authored by Max Kellermann's avatar Max Kellermann

notify: use C++11 initializer

parent 7ec70792
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment