[Scummvm-cvs-logs] CVS: scummvm/common map.h,1.4,1.5
Max Horn
fingolfin at users.sourceforge.net
Tue Oct 22 04:33:04 CEST 2002
Update of /cvsroot/scummvm/scummvm/common
In directory usw-pr-cvs1:/tmp/cvs-serv20411
Modified Files:
map.h
Log Message:
don't shadow vars
Index: map.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/map.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- map.h 10 Sep 2002 08:26:52 -0000 1.4
+++ map.h 22 Oct 2002 11:32:12 -0000 1.5
@@ -177,8 +177,8 @@
// different walk order (infix comes to mind).
if (map.isEmpty())
return;
- Iterator x(map.begin()), end(map.end());
- for (; x != end; ++x) {
+ Iterator x(map.begin()), e(map.end());
+ for (; x != e; ++x) {
(*this)[x->_key] = x->_value;
}
}
More information about the Scummvm-git-logs
mailing list