[Scummvm-cvs-logs] CVS: scummvm/common util.h,1.19,1.20
Max Horn
fingolfin at users.sourceforge.net
Sat Jun 14 11:16:05 CEST 2003
Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv7318
Modified Files:
util.h
Log Message:
cleanup
Index: util.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/util.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- util.h 5 Jun 2003 03:28:35 -0000 1.19
+++ util.h 14 Jun 2003 18:15:14 -0000 1.20
@@ -30,8 +30,7 @@
/**
* Template method which swaps the vaulues of its two parameters.
*/
-template<class T>
-static inline void SWAP(T &a, T &b) { T tmp = a; a = b; b = tmp; }
+template<typename T> inline void SWAP(T &a, T &b) { T tmp = a; a = b; b = tmp; }
#define ARRAYSIZE(x) ((int)(sizeof(x) / sizeof(x[0])))
More information about the Scummvm-git-logs
mailing list