aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/threading/event.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threading/event.cpp b/src/threading/event.cpp
index b7f16154e..165f9d83f 100644
--- a/src/threading/event.cpp
+++ b/src/threading/event.cpp
@@ -26,7 +26,6 @@ DEALINGS IN THE SOFTWARE.
#include "threading/event.h"
Event::Event()
- : notified(false)
{
#if __cplusplus < 201103L
# ifdef _WIN32
@@ -34,6 +33,7 @@ Event::Event()
# else
pthread_cond_init(&cv, NULL);
pthread_mutex_init(&mutex, NULL);
+ notified = false;
# endif
#endif
}