summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-06-24 12:45:21 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-06-24 12:45:21 +0200
commit36b9b4b39900d1b2e3b182e1b50370b0c9dcb9ae (patch)
tree0d6f84597c4e103647de04eea4eb0c21ce6ef9c2 /include
parentaa7df4b8234d4b601ad0310605181fdabc8cfcaa (diff)
Change allocation of ThreadData to be physically part of the object containing it
Diffstat (limited to 'include')
-rw-r--r--include/threadengine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/threadengine.h b/include/threadengine.h
index 39f150566..e656eb6b3 100644
--- a/include/threadengine.h
+++ b/include/threadengine.h
@@ -49,11 +49,11 @@ class CoreExport Thread
public:
/** Opaque thread state managed by threading engine
*/
- ThreadData* state;
+ ThreadData state;
/** Set Creator to NULL at this point
*/
- Thread() : ExitFlag(false), state(NULL)
+ Thread() : ExitFlag(false)
{
}