(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user