Fix Windows build

Fixes the issue introduced by c1a0ebb (Fix use of uninitialised variable
in class Event) causing Windows builds to fail
This commit is contained in:
Craig Robbins 2016-05-02 15:01:17 +10:00
parent 8fe753c3d9
commit c92cff5d52

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