aboutsummaryrefslogtreecommitdiff
path: root/src/common/bit_set.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-07 13:31:57 -0400
committerLioncash <mathew1800@gmail.com>2018-08-07 19:34:47 -0400
commita7d6efc5201960b351fee4760663388dd946ab8e (patch)
treeaea37b49caa9b3b71a98a1266d7786ac39079e2f /src/common/bit_set.h
parent825e8cb9252cdffd3f150ef667ecb95655ab0696 (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.h2
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[].