Skip to content
Snippets Groups Projects
Commit c92cff5d authored by Zeno-'s avatar Zeno-
Browse files

Fix Windows build

Fixes the issue introduced by c1a0ebb7 (Fix use of uninitialised variable
in class Event) causing Windows builds to fail
parent 8fe753c3
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment