(svn r16498) -Codechange: Remove hardly used HASBITS.
This commit is contained in:
@@ -91,18 +91,6 @@ static FORCEINLINE bool HasBit(const T x, const uint8 y)
|
||||
return (x & ((T)1U << y)) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check several bits in a value.
|
||||
*
|
||||
* This macro checks if a value contains at least one bit of an other
|
||||
* value.
|
||||
*
|
||||
* @param x The first value
|
||||
* @param y The second value
|
||||
* @return True if at least one bit is set in both values, false else.
|
||||
*/
|
||||
#define HASBITS(x, y) (((x) & (y)) != 0)
|
||||
|
||||
/**
|
||||
* Set a bit in a variable.
|
||||
*
|
||||
|
Reference in New Issue
Block a user