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

This commit is contained in:
skidd13
2007-11-20 13:35:54 +00:00
parent b8885630aa
commit eeaa348f8b
45 changed files with 161 additions and 166 deletions

View File

@@ -247,9 +247,9 @@ template<typename T> static inline bool HasBit(const T x, const uint8 y)
* @param y The bit position to set
* @return The new value of the old value with the bit set
*/
template<typename T> static inline T SETBIT(T& x, const uint8 y)
template<typename T> static inline T SetBit(T& x, const uint8 y)
{
return x |= (T)1U << y;
return x = (T)(x | (T)(1U << y));
}
/**