diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2012-09-02 16:59:09 -0700 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2012-09-02 16:59:09 -0700 |
commit | 63ff2026cf8c0c8d792d27e5999589e8c0a715d5 (patch) | |
tree | 2fe9d1be21e6211665db6fe861cd5e807ac3fc95 /includes | |
parent | 0dc59daa2eeb30523208a888fd3e25d421083136 (diff) |
Better constructor for StacklessTask.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/StacklessTask.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/StacklessTask.h b/includes/StacklessTask.h index bb18a7a..f91ed00 100644 --- a/includes/StacklessTask.h +++ b/includes/StacklessTask.h @@ -6,10 +6,10 @@ namespace Balau { class StacklessTask : public Task { public: - StacklessTask() : m_state(0) { setStackless(); } + StacklessTask() { setStackless(); } protected: void taskSwitch() throw (GeneralException) { throw TaskSwitch(); } - unsigned int m_state; + unsigned int m_state = 0; }; }; |