mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
Silly macro removed-2
This commit is contained in:
parent
5e0489dcc0
commit
0f87c4485d
38 changed files with 346 additions and 445 deletions
|
@ -59,7 +59,7 @@ struct bs_base
|
|||
__bitset_set_type = 0 // SFINAE marker
|
||||
};
|
||||
|
||||
static constexpr std::size_t bitmax = sizeof(T) * CHAR_BIT;
|
||||
static constexpr std::size_t bitmax = sizeof(T) * 8;
|
||||
static constexpr std::size_t bitsize = static_cast<under>(T::__bitset_enum_max);
|
||||
|
||||
static_assert(std::is_enum<T>::value, "bs_t<> error: invalid type (must be enum)");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue