diff options
author | Max Horn | 2003-06-14 18:15:14 +0000 |
---|---|---|
committer | Max Horn | 2003-06-14 18:15:14 +0000 |
commit | a4edad02b6da4c41410ec045b592a51bba5f581c (patch) | |
tree | cc6fc8c107baf99c4fe34cba66986366e842edc7 /common | |
parent | 67d1a48efc75eb34ff56f5baa85d55ea02cacde7 (diff) | |
download | scummvm-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.h | 3 |
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]))) |