diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-07 13:31:57 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-07 19:34:47 -0400 |
commit | a7d6efc5201960b351fee4760663388dd946ab8e (patch) | |
tree | aea37b49caa9b3b71a98a1266d7786ac39079e2f /src/common/bit_set.h | |
parent | 825e8cb9252cdffd3f150ef667ecb95655ab0696 (diff) |
common: Convert type traits templates over to variable template versions where applicable
Uses the C++17 inline variable variants
Diffstat (limited to 'src/common/bit_set.h')
-rw-r--r-- | src/common/bit_set.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/bit_set.h b/src/common/bit_set.h index 84e3cbe581..5a197d8c16 100644 --- a/src/common/bit_set.h +++ b/src/common/bit_set.h @@ -96,7 +96,7 @@ static inline int LeastSignificantSetBit(u64 val) { template <typename IntTy> class BitSet { - static_assert(!std::is_signed<IntTy>::value, "BitSet should not be used with signed types"); + static_assert(!std::is_signed_v<IntTy>, "BitSet should not be used with signed types"); public: // A reference to a particular bit, returned from operator[]. |