aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMax Horn2003-06-14 18:15:14 +0000
committerMax Horn2003-06-14 18:15:14 +0000
commita4edad02b6da4c41410ec045b592a51bba5f581c (patch)
treecc6fc8c107baf99c4fe34cba66986366e842edc7 /common
parent67d1a48efc75eb34ff56f5baa85d55ea02cacde7 (diff)
downloadscummvm-rg350-a4edad02b6da4c41410ec045b592a51bba5f581c.tar.gz
scummvm-rg350-a4edad02b6da4c41410ec045b592a51bba5f581c.tar.bz2
scummvm-rg350-a4edad02b6da4c41410ec045b592a51bba5f581c.zip
cleanup
svn-id: r8480
Diffstat (limited to 'common')
-rw-r--r--common/util.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/util.h b/common/util.h
index f4a9a873e7..cc9a45c0e7 100644
--- a/common/util.h
+++ b/common/util.h
@@ -30,8 +30,7 @@ template<typename T> inline T MAX (T a, T b) { return (a>b) ? a : b; }
/**
* 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])))