From 0d782b0f96f01e7d9ac02120b8e5ca84fe9bc9f2 Mon Sep 17 00:00:00 2001 From: frosch Date: Mon, 1 Jun 2009 15:01:54 +0000 Subject: (svn r16498) -Codechange: Remove hardly used HASBITS. --- src/core/bitmath_func.hpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/core') diff --git a/src/core/bitmath_func.hpp b/src/core/bitmath_func.hpp index f32aee67c..2da6d89ac 100644 --- a/src/core/bitmath_func.hpp +++ b/src/core/bitmath_func.hpp @@ -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. * -- cgit v1.2.3-70-g09d2