[Scummvm-cvs-logs] SF.net SVN: scummvm:[52528] scummvm/trunk/engines/hugo

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sat Sep 4 19:22:29 CEST 2010


Revision: 52528
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52528&view=rev
Author:   eriktorbjorn
Date:     2010-09-04 17:22:27 +0000 (Sat, 04 Sep 2010)

Log Message:
-----------
HUGO: Add destructor to Scheduler class

GCC complained, and I think this is what it wanted.

Modified Paths:
--------------
    scummvm/trunk/engines/hugo/schedule.cpp
    scummvm/trunk/engines/hugo/schedule.h

Modified: scummvm/trunk/engines/hugo/schedule.cpp
===================================================================
--- scummvm/trunk/engines/hugo/schedule.cpp	2010-09-04 17:16:41 UTC (rev 52527)
+++ scummvm/trunk/engines/hugo/schedule.cpp	2010-09-04 17:22:27 UTC (rev 52528)
@@ -52,6 +52,9 @@
 Scheduler::Scheduler(HugoEngine &vm) : _vm(vm) {
 }
 
+Scheduler::~Scheduler() {
+}
+
 // Initialise the timer event queue
 void Scheduler::initEventQueue() {
 	debugC(1, kDebugSchedule, "initEventQueue");

Modified: scummvm/trunk/engines/hugo/schedule.h
===================================================================
--- scummvm/trunk/engines/hugo/schedule.h	2010-09-04 17:16:41 UTC (rev 52527)
+++ scummvm/trunk/engines/hugo/schedule.h	2010-09-04 17:22:27 UTC (rev 52528)
@@ -48,6 +48,7 @@
 class Scheduler {
 public:
 	Scheduler(HugoEngine &vm);
+	virtual ~Scheduler();
 
 	void   initEventQueue();
 	void   insertAction(act *action);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list