diff options
author | truelight <truelight@openttd.org> | 2007-11-04 22:47:34 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-11-04 22:47:34 +0000 |
commit | 69b1d97c0348229bf1ff14a672d7e50aa3d9eb3f (patch) | |
tree | 3f3cf6fdd8b19411c70fc99e7dc1456cbc7f798e /src/macros.h | |
parent | 3517ee6d54157541ad8c451a075b675c0b429506 (diff) | |
download | openttd-69b1d97c0348229bf1ff14a672d7e50aa3d9eb3f.tar.xz |
(svn r11382) -Codechange: renamed COUNTBITS to CountBits, as it is no longer a macro (skidd13)
Diffstat (limited to 'src/macros.h')
-rw-r--r-- | src/macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macros.h b/src/macros.h index 260c87e50..8d9759235 100644 --- a/src/macros.h +++ b/src/macros.h @@ -432,7 +432,7 @@ static inline uint KillFirstBit2x64(uint value) * @param value the value to count the number of bits in. * @return the number of bits. */ -template<typename T> static inline uint COUNTBITS(T value) +template<typename T> static inline uint CountBits(T value) { register uint num; |