summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2012-09-02 16:59:09 -0700
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2012-09-02 16:59:09 -0700
commit63ff2026cf8c0c8d792d27e5999589e8c0a715d5 (patch)
tree2fe9d1be21e6211665db6fe861cd5e807ac3fc95
parent0dc59daa2eeb30523208a888fd3e25d421083136 (diff)
Better constructor for StacklessTask.
-rw-r--r--includes/StacklessTask.h4
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;
};
};