From f92f3aec06203081ca8fadcbc5fb652e92bf8e30 Mon Sep 17 00:00:00 2001 From: skidd13 Date: Tue, 20 Nov 2007 14:11:19 +0000 Subject: (svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename the remaining to fit with the naming style --- src/helpers.hpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/helpers.hpp') diff --git a/src/helpers.hpp b/src/helpers.hpp index e873d38ee..cb9bd1dcc 100644 --- a/src/helpers.hpp +++ b/src/helpers.hpp @@ -149,11 +149,6 @@ template struct TinyEnumT } }; -template void ToggleBitT(T &t, int bit_index) -{ - t = (T)(t ^ ((T)1 << bit_index)); -} - /** * Overflow safe template for integers, i.e. integers that will never overflow * you multiply the maximum value with 2, or add 2, or substract somethng from -- cgit v1.2.3-54-g00ecf