diff options
Diffstat (limited to 'lib/Task.cc')
-rw-r--r-- | lib/Task.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Task.cc b/lib/Task.cc index 4d161ea..999881e 100644 --- a/lib/Task.cc +++ b/lib/Task.cc @@ -10,7 +10,7 @@ #include "BString.h" #include "gettext.h" -Task::Task() : current(0), state(TASK_ON_HOLD), stopped(false), suspended(false), wbta(0) { +Task::Task() : current(0), state(TASK_ON_HOLD), stopped(false), suspended(false), wbta(0), BurstHandle(0) { TaskMan::AddTask(this); } @@ -83,7 +83,7 @@ void Task::WaitFor(pid_t p) { TaskMan::WaitFor(p, this); } -void Task::WaitFor(timeval t, int flags) { +void Task::WaitFor(const timeval & t, int flags) { TaskMan::WaitFor(t, this, flags); } |