diff options
author | bunnei <bunneidev@gmail.com> | 2021-05-04 20:53:45 -0700 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-05-05 16:40:54 -0700 |
commit | a488b86e97df2bf188938f01fb484aa420298fef (patch) | |
tree | 9c70d8a4a293e83e6906307fb1a4db7f61265fae /src | |
parent | 510f71d87191e598cf2067c89d16103b04079157 (diff) |
fixup! common: bit_util: Add BIT macro.
Diffstat (limited to 'src')
-rw-r--r-- | src/common/bit_util.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/common/bit_util.h b/src/common/bit_util.h index 683f09158..64520ca4e 100644 --- a/src/common/bit_util.h +++ b/src/common/bit_util.h @@ -44,6 +44,4 @@ template <typename T> return static_cast<u32>(log2_f + static_cast<u64>((value ^ (1ULL << log2_f)) != 0ULL)); } -#define BIT(n) (1U << (n)) - } // namespace Common |