changeset 7932 | 6c3d71e8a129 |
parent 7931 | b0a46cd92225 |
child 7937 | 1e7a22ea20d4 |
--- a/src/helpers.hpp Tue Nov 20 13:35:54 2007 +0000 +++ b/src/helpers.hpp Tue Nov 20 14:11:19 2007 +0000 @@ -149,11 +149,6 @@ } }; -template <typename T> 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