From c92cff5d52efa0f811b605efd8d77ff23e44b226 Mon Sep 17 00:00:00 2001 From: Craig Robbins Date: Mon, 2 May 2016 15:01:17 +1000 Subject: Fix Windows build Fixes the issue introduced by c1a0ebb (Fix use of uninitialised variable in class Event) causing Windows builds to fail --- src/threading/event.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/threading') 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 } -- cgit v1.2.3