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
commiteeaa348f8bfafae1a6e56b857a97d9d23577dcac (patch)
tree51f15a2e52f58ea4446467086c5441cebe4324bf /src/helpers.hpp
parentb8885630aa9942ea924ffb6eeabc266140485435 (diff)
downloadopenttd-eeaa348f8bfafae1a6e56b857a97d9d23577dcac.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));