diff options
author | Sadie Powell <sadie@witchery.services> | 2022-01-03 18:34:16 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2022-01-04 00:17:13 +0000 |
commit | 7531e90499d4cd60b6464c692725225e85c00738 (patch) | |
tree | 930fd946ea495b74c4071a67e12cadb700ab79ab /include/threadengine.h | |
parent | dfcc025a19d7d49179d75f34553c36e0d47eaded (diff) |
Use C++11 style class/struct initialisation.
Diffstat (limited to 'include/threadengine.h')
-rw-r--r-- | include/threadengine.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/threadengine.h b/include/threadengine.h index 14af252e6..e45987e26 100644 --- a/include/threadengine.h +++ b/include/threadengine.h @@ -19,16 +19,12 @@ 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(); |