summaryrefslogtreecommitdiff
path: root/src/helpers.hpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-20 13:35:54 +0000
committerskidd13 <skidd13@openttd.org>2007-11-20 13:35:54 +0000
commit3ae50673a3e1e64a6038c53570c5ee168073e038 (patch)
tree51f15a2e52f58ea4446467086c5441cebe4324bf /src/helpers.hpp
parent795174edf13e99cdef7eda73fbc088e2b06df051 (diff)
downloadopenttd-3ae50673a3e1e64a6038c53570c5ee168073e038.tar.xz
(svn r11484) -Codechange: Remove the doubled function SetBitT 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 d7834c47d..e873d38ee 100644
--- a/src/helpers.hpp
+++ b/src/helpers.hpp
@@ -149,11 +149,6 @@ template <typename Tenum_t> struct TinyEnumT
}
};
-template <typename T> void SetBitT(T &t, int bit_index)
-{
- t = (T)(t | ((T)1 << bit_index));
-}
-
template <typename T> void ToggleBitT(T &t, int bit_index)
{
t = (T)(t ^ ((T)1 << bit_index));