diff options
Diffstat (limited to 'include/threadengine.h')
-rw-r--r-- | include/threadengine.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/threadengine.h b/include/threadengine.h index 14af252e6..b5f8e5755 100644 --- a/include/threadengine.h +++ b/include/threadengine.h @@ -19,19 +19,15 @@ class CoreExport Thread : public Pipe, public Extensible { private: /* Set to true to tell the thread to finish and we are waiting for it */ - bool exit; + bool exit = false; public: /* Handle for this thread */ pthread_t handle; - /** Threads constructor - */ - Thread(); - /** Threads destructor */ - virtual ~Thread(); + virtual ~Thread() = default; /** Join to the thread, sets the exit state to true */ |