bitwise: remove unneeded BITMASK_BITS constants

This commit is contained in:
Danny Robson 2018-12-06 15:43:11 +11:00
parent 1a82e4fe76
commit 5627f0f280

View File

@ -17,15 +17,6 @@
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>
constexpr T