From 8ecfc19a5fff07065d893145b55921752754a708 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Wed, 9 Jan 2013 05:03:10 +0100 Subject: Disabling generating traces for task switches, and adding a move constructor for exceptions. --- 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 86bbce1..b7931e6 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"), m_evt(evt) { } + EAgain(Events::BaseEvent * evt) : GeneralException("Try Again", NULL, true), 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") { } + TaskSwitch() : GeneralException("Task Switch", NULL, true) { } }; class TaskMan; -- cgit v1.2.3