(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style

This commit is contained in:
skidd13
2007-11-19 21:32:20 +00:00
parent 71c4325c50
commit 5c31a973a1
32 changed files with 93 additions and 98 deletions

View File

@@ -263,9 +263,9 @@ template<typename T> static inline T SETBIT(T& x, const uint8 y)
* @param y The bit position to clear
* @return The new value of the old value with the bit cleared
*/
template<typename T> static inline T CLRBIT(T& x, const uint8 y)
template<typename T> static inline T ClrBit(T& x, const uint8 y)
{
return x &= ~((T)1U << y);
return x = (T)(x & ~((T)1U << y));
}
/**