summaryrefslogtreecommitdiffstats
path: root/src/common/bit_set.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-08 21:28:34 +0200
committerGitHub <noreply@github.com>2018-08-08 21:28:34 +0200
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 where applicable (diff)
downloadyuzu-d224eb7c39c43754929972d07998db79ba093279.tar
yuzu-d224eb7c39c43754929972d07998db79ba093279.tar.gz
yuzu-d224eb7c39c43754929972d07998db79ba093279.tar.bz2
yuzu-d224eb7c39c43754929972d07998db79ba093279.tar.lz
yuzu-d224eb7c39c43754929972d07998db79ba093279.tar.xz
yuzu-d224eb7c39c43754929972d07998db79ba093279.tar.zst
yuzu-d224eb7c39c43754929972d07998db79ba093279.zip
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) {
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[].