[Scummvm-cvs-logs] SF.net SVN: scummvm:[41493] scummvm/trunk/engines/sci/engine

vinterstum at users.sourceforge.net vinterstum at users.sourceforge.net
Sat Jun 13 15:27:21 CEST 2009


Revision: 41493
          http://scummvm.svn.sourceforge.net/scummvm/?rev=41493&view=rev
Author:   vinterstum
Date:     2009-06-13 13:27:21 +0000 (Sat, 13 Jun 2009)

Log Message:
-----------
Buildfix for gcc 3.3 (moved a template class member into the header file)

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/memobj.cpp
    scummvm/trunk/engines/sci/engine/memobj.h

Modified: scummvm/trunk/engines/sci/engine/memobj.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/memobj.cpp	2009-06-13 12:11:13 UTC (rev 41492)
+++ scummvm/trunk/engines/sci/engine/memobj.cpp	2009-06-13 13:27:21 UTC (rev 41493)
@@ -269,13 +269,6 @@
 
 //-------------------- clones --------------------
 
-template<typename T>
-void Table<T>::listAllDeallocatable(SegmentId segId, void *param, NoteCallback note) {
-	for (uint i = 0; i < _table.size(); i++)
-		if (isValidEntry(i))
-			(*note)(param, make_reg(segId, i));
-}
-
 void CloneTable::listAllOutgoingReferences(EngineState *s, reg_t addr, void *param, NoteCallback note) {
 	CloneTable *clone_table = this;
 	Clone *clone;

Modified: scummvm/trunk/engines/sci/engine/memobj.h
===================================================================
--- scummvm/trunk/engines/sci/engine/memobj.h	2009-06-13 12:11:13 UTC (rev 41492)
+++ scummvm/trunk/engines/sci/engine/memobj.h	2009-06-13 13:27:21 UTC (rev 41493)
@@ -502,7 +502,11 @@
 		entries_used--;
 	}
 
-	virtual void listAllDeallocatable(SegmentId segId, void *param, NoteCallback note);
+	virtual void listAllDeallocatable(SegmentId segId, void *param, NoteCallback note) {
+		for (uint i = 0; i < _table.size(); i++)
+			if (isValidEntry(i))
+				(*note)(param, make_reg(segId, i));
+	}
 };
 
 


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