[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/generic list_helper.hxx,1.3,1.4
From: |
torangan |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/generic list_helper.hxx,1.3,1.4 |
Date: |
17 Aug 2002 17:56:26 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/generic
In directory dark:/tmp/cvs-serv28473/generic
Modified Files:
list_helper.hxx
Log Message:
changed some postfix increments to prefix increments
Index: list_helper.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/generic/list_helper.hxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- list_helper.hxx 16 Aug 2002 13:03:36 -0000 1.3
+++ list_helper.hxx 17 Aug 2002 17:56:24 -0000 1.4
@@ -33,7 +33,7 @@
template<class T>
static void append (std::list<T> &a, std::list<T> b)
{
- for (typename std::list<T>::iterator i = b.begin (); i != b.end (); i++)
+ for (typename std::list<T>::iterator i = b.begin (); i != b.end (); ++i)
a.push_back (*i);
}
/*
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/generic list_helper.hxx,1.3,1.4,
torangan <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/traps smasher.cxx,1.5,1.6
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/input axis_scroller.cxx,1.3,1.4 multiple_pointer.cxx,1.5,1.6
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/traps smasher.cxx,1.5,1.6
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/input axis_scroller.cxx,1.3,1.4 multiple_pointer.cxx,1.5,1.6
- Index(es):