summaryrefslogtreecommitdiff
path: root/includes/Task.h
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-01-16 09:33:49 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-01-16 09:33:49 +0100
commit93d83f045667a5bf620a8d17d1acc400f0b8e877 (patch)
tree663aecb42863a209d321a71e59332fc78740e602 /includes/Task.h
parentb02735df384e0bc3549da5bee669eb1a16a23dc2 (diff)
Since I have to eat these exceptions no matter what, let's try to improve them a bit for speed and efficiency.
Diffstat (limited to 'includes/Task.h')
-rw-r--r--includes/Task.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/Task.h b/includes/Task.h
index b7931e6..19e5262 100644
--- a/includes/Task.h
+++ b/includes/Task.h
@@ -15,7 +15,7 @@ namespace Events { class BaseEvent; };
class EAgain : public GeneralException {
public:
- EAgain(Events::BaseEvent * evt) : GeneralException("Try Again", NULL, true), m_evt(evt) { }
+ EAgain(Events::BaseEvent * evt) : GeneralException(), m_evt(evt) { }
Events::BaseEvent * getEvent() { return m_evt; }
private:
Events::BaseEvent * m_evt;
@@ -23,7 +23,7 @@ class EAgain : public GeneralException {
class TaskSwitch : public GeneralException {
public:
- TaskSwitch() : GeneralException("Task Switch", NULL, true) { }
+ TaskSwitch() : GeneralException() { }
};
class TaskMan;