From a421c1dbfbf42701e20be7ce1041329bdd12d8d5 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 29 Dec 2016 11:41:22 +0100 Subject: [PATCH] notify: use C++11 initializer --- src/notify.hxx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/notify.hxx b/src/notify.hxx index 18a134321..47367690e 100644 --- a/src/notify.hxx +++ b/src/notify.hxx @@ -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