mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 16:03:24 +00:00
cleanup
svn-id: r8480
This commit is contained in:
parent
67d1a48efc
commit
a4edad02b6
@ -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])))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user