aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2010-09-04 17:22:27 +0000
committerTorbjörn Andersson2010-09-04 17:22:27 +0000
commit871064b3c71a3eac02575ec2190ea381de9c2794 (patch)
treeb55e0f981c0805c3b43dfbccd890fa94a75fb786
parent3daf588e0801d5aae3c7aed3d9bbb1771e4023f2 (diff)
downloadscummvm-rg350-871064b3c71a3eac02575ec2190ea381de9c2794.tar.gz
scummvm-rg350-871064b3c71a3eac02575ec2190ea381de9c2794.tar.bz2
scummvm-rg350-871064b3c71a3eac02575ec2190ea381de9c2794.zip
HUGO: Add destructor to Scheduler class
GCC complained, and I think this is what it wanted. svn-id: r52528
-rw-r--r--engines/hugo/schedule.cpp3
-rw-r--r--engines/hugo/schedule.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/engines/hugo/schedule.cpp b/engines/hugo/schedule.cpp
index 296a723821..41d194120f 100644
--- a/engines/hugo/schedule.cpp
+++ b/engines/hugo/schedule.cpp
@@ -52,6 +52,9 @@ namespace Hugo {
Scheduler::Scheduler(HugoEngine &vm) : _vm(vm) {
}
+Scheduler::~Scheduler() {
+}
+
// Initialise the timer event queue
void Scheduler::initEventQueue() {
debugC(1, kDebugSchedule, "initEventQueue");
diff --git a/engines/hugo/schedule.h b/engines/hugo/schedule.h
index 046f3d04f3..5190aed71c 100644
--- a/engines/hugo/schedule.h
+++ b/engines/hugo/schedule.h
@@ -48,6 +48,7 @@ struct event_t {
class Scheduler {
public:
Scheduler(HugoEngine &vm);
+ virtual ~Scheduler();
void initEventQueue();
void insertAction(act *action);