diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-08 15:28:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-08 15:28:34 -0400 |
commit | d224eb7c39c43754929972d07998db79ba093279 (patch) | |
tree | 4059c27a33d3595cfc37f6316a4e29290221e3d3 /src/common/bit_set.h | |
parent | fd9da4232b2f989257630884511ba50e108ad703 (diff) | |
parent | a7d6efc5201960b351fee4760663388dd946ab8e (diff) |
Merge pull request #966 from lioncash/modernize
common: Convert type traits templates over to variable template versions where applicable
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 84e3cbe58..5a197d8c1 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[]. |