From 93d83f045667a5bf620a8d17d1acc400f0b8e877 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Wed, 16 Jan 2013 09:33:49 +0100 Subject: Since I have to eat these exceptions no matter what, let's try to improve them a bit for speed and efficiency. --- includes/Task.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/Task.h') 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; -- cgit v1.2.3