bitwise: remove unneeded BITMASK_BITS constants
This commit is contained in:
parent
1a82e4fe76
commit
5627f0f280
@ -17,15 +17,6 @@
|
|||||||
|
|
||||||
|
|
||||||
namespace cruft {
|
namespace cruft {
|
||||||
const uint8_t BITMASK_1BITS = 0x01;
|
|
||||||
const uint8_t BITMASK_2BITS = 0x03;
|
|
||||||
const uint8_t BITMASK_3BITS = 0x07;
|
|
||||||
const uint8_t BITMASK_4BITS = 0x0F;
|
|
||||||
const uint8_t BITMASK_5BITS = 0x1F;
|
|
||||||
const uint8_t BITMASK_6BITS = 0x3F;
|
|
||||||
const uint8_t BITMASK_7BITS = 0x7F;
|
|
||||||
const uint8_t BITMASK_8BITS = 0xFF;
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
template <typename T>
|
template <typename T>
|
||||||
constexpr T
|
constexpr T
|
||||||
|
Loading…
x
Reference in New Issue
Block a user