[Scummvm-cvs-logs] SF.net SVN: scummvm:[39927] scummvm/trunk/engines/saga/list.h
wjpalenstijn at users.sourceforge.net
wjpalenstijn at users.sourceforge.net
Sat Apr 11 11:43:43 CEST 2009
Revision: 39927
http://scummvm.svn.sourceforge.net/scummvm/?rev=39927&view=rev
Author: wjpalenstijn
Date: 2009-04-11 09:43:42 +0000 (Sat, 11 Apr 2009)
Log Message:
-----------
Fix compilation
Modified Paths:
--------------
scummvm/trunk/engines/saga/list.h
Modified: scummvm/trunk/engines/saga/list.h
===================================================================
--- scummvm/trunk/engines/saga/list.h 2009-04-11 09:31:54 UTC (rev 39926)
+++ scummvm/trunk/engines/saga/list.h 2009-04-11 09:43:42 UTC (rev 39927)
@@ -42,7 +42,7 @@
iterator insert(const T& element, CompareFunction compareFunction) {
int res;
- for (Common::List<T>::iterator i = Common::List<T>::begin(); i != Common::List<T>::end(); ++i) {
+ for (typename Common::List<T>::iterator i = Common::List<T>::begin(); i != Common::List<T>::end(); ++i) {
res = compareFunction(element, *i);
if (res < 0) {
Common::List<T>::insert(i, element);
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