mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 22:57:22 +00:00
fixup! common: bit_util: Add BIT macro.
This commit is contained in:
parent
510f71d871
commit
a488b86e97
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue