summaryrefslogtreecommitdiff
path: root/src/common/bit_set.h
diff options
context:
space:
mode:
authorGravatar bunnei2018-08-08 15:28:34 -0400
committerGravatar GitHub2018-08-08 15:28:34 -0400
commitd224eb7c39c43754929972d07998db79ba093279 (patch)
tree4059c27a33d3595cfc37f6316a4e29290221e3d3 /src/common/bit_set.h
parentMerge pull request #850 from DarkLordZach/icon-meta (diff)
parentcommon: Convert type traits templates over to variable template versions wher... (diff)
downloadyuzu-d224eb7c39c43754929972d07998db79ba093279.tar.gz
yuzu-d224eb7c39c43754929972d07998db79ba093279.tar.xz
yuzu-d224eb7c39c43754929972d07998db79ba093279.zip
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.h2
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) {
96 96
97template <typename IntTy> 97template <typename IntTy>
98class BitSet { 98class BitSet {
99 static_assert(!std::is_signed<IntTy>::value, "BitSet should not be used with signed types"); 99 static_assert(!std::is_signed_v<IntTy>, "BitSet should not be used with signed types");
100 100
101public: 101public:
102 // A reference to a particular bit, returned from operator[]. 102 // A reference to a particular bit, returned from operator[].