summaryrefslogtreecommitdiff
path: root/src/helpers.hpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-19 21:32:20 +0000
committerskidd13 <skidd13@openttd.org>2007-11-19 21:32:20 +0000
commit5c31a973a1dae47f351d4dc9e0451b3341c400f8 (patch)
tree7d43b1e4a7bf1344b1d4cfb2dc2618720a0040e8 /src/helpers.hpp
parent71c4325c50ae594a5adf01cac7c9e527b239cdcb (diff)
downloadopenttd-5c31a973a1dae47f351d4dc9e0451b3341c400f8.tar.xz
(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style
Diffstat (limited to 'src/helpers.hpp')
-rw-r--r--src/helpers.hpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/helpers.hpp b/src/helpers.hpp
index b69f17ae9..d7834c47d 100644
--- a/src/helpers.hpp
+++ b/src/helpers.hpp
@@ -149,11 +149,6 @@ template <typename Tenum_t> struct TinyEnumT
}
};
-template <typename T> void ClrBitT(T &t, int bit_index)
-{
- t = (T)(t & ~((T)1 << bit_index));
-}
-
template <typename T> void SetBitT(T &t, int bit_index)
{
t = (T)(t | ((T)1 << bit_index));