summaryrefslogtreecommitdiff
path: root/src/macros.h
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-11-04 22:47:34 +0000
committertruelight <truelight@openttd.org>2007-11-04 22:47:34 +0000
commit69b1d97c0348229bf1ff14a672d7e50aa3d9eb3f (patch)
tree3f3cf6fdd8b19411c70fc99e7dc1456cbc7f798e /src/macros.h
parent3517ee6d54157541ad8c451a075b675c0b429506 (diff)
downloadopenttd-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.h2
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;