summaryrefslogtreecommitdiff
path: root/lib/Task.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Task.cc')
-rw-r--r--lib/Task.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Task.cc b/lib/Task.cc
index 3cac327..d554000 100644
--- a/lib/Task.cc
+++ b/lib/Task.cc
@@ -1,5 +1,5 @@
#include <sys/time.h>
-#include <iostream.h>
+#include <iostream>
#include "TaskMan.h"
#include "Task.h"
#include "String.h"
@@ -25,7 +25,7 @@ int Task::Run() {
return state;
}
catch (GeneralException e) {
- cerr << _("Task ") << GetName() << _(" caused an unexpected exception: \"") << e.GetMsg() << _("\". Terminating.\n");
+ std::cerr << _("Task ") << GetName() << _(" caused an unexpected exception: \"") << e.GetMsg() << _("\". Terminating.\n");
state = TASK_DONE;
return TASK_DONE;
}
@@ -41,7 +41,7 @@ int Task::DryRun() {
catch (TaskSwitch) {
}
catch (GeneralException e) {
- cerr << _("Task ") << GetName() << _(" caused an unexpected exception during dry-run: \"") << e.GetMsg() << _("\". Terminating.\n");
+ std::cerr << _("Task ") << GetName() << _(" caused an unexpected exception during dry-run: \"") << e.GetMsg() << _("\". Terminating.\n");
state = TASK_DONE;
}
}