]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/thread_private.h
Add move semantics to Variant
[libs/core.git] / source / core / thread_private.h
index f64c582c6e17a0bfa6760ec36c5618cbd8c8761d..f133d6025fcb41e4f30c8b9ed35e62edbd35991a 100644 (file)
@@ -1,15 +1,14 @@
 #ifndef MSP_CORE_THREAD_PRIVATE_H_
 #define MSP_CORE_THREAD_PRIVATE_H_
 
+#include "thread.h"
 #include "thread_platform.h"
 
 namespace Msp {
 
 struct Thread::Private
 {
-       ThreadHandle handle;
-
-       Private(): handle(0) { }
+       ThreadHandle handle = 0;
 
        static ThreadReturn THREAD_CALL main_wrapper(void *);
 };