From 36b9b4b39900d1b2e3b182e1b50370b0c9dcb9ae Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Tue, 24 Jun 2014 12:45:21 +0200 Subject: Change allocation of ThreadData to be physically part of the object containing it --- include/threadengine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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) { } -- cgit v1.2.3