]> git.stg.codes - stg.git/blobdiff - projects/stargazer/eventloop.cpp
Initialize class members in EVENT_LOOP constructor
[stg.git] / projects / stargazer / eventloop.cpp
index 1d1a209d9bc9e574bcac360d2a8b4d95e4fb8838..dd17de9b07a3c9ee6f488817b38fc9dcc8925adb 100644 (file)
@@ -6,7 +6,12 @@
 #include "eventloop.h"
 
 EVENT_LOOP::EVENT_LOOP()
-    : ACTIONS_LIST()
+    : ACTIONS_LIST(),
+      _running(false),
+      _stopped(true),
+      _tid(),
+      _mutex(),
+      _condition()
 {
 pthread_mutex_init(&_mutex, NULL);
 pthread_cond_init(&_condition, NULL);