diff options
| author | 2018-08-08 15:28:34 -0400 | |
|---|---|---|
| committer | 2018-08-08 15:28:34 -0400 | |
| commit | d224eb7c39c43754929972d07998db79ba093279 (patch) | |
| tree | 4059c27a33d3595cfc37f6316a4e29290221e3d3 /src/common/bit_set.h | |
| parent | Merge pull request #850 from DarkLordZach/icon-meta (diff) | |
| parent | common: Convert type traits templates over to variable template versions wher... (diff) | |
| download | yuzu-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.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) { | |||
| 96 | 96 | ||
| 97 | template <typename IntTy> | 97 | template <typename IntTy> |
| 98 | class BitSet { | 98 | class 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 | ||
| 101 | public: | 101 | public: |
| 102 | // A reference to a particular bit, returned from operator[]. | 102 | // A reference to a particular bit, returned from operator[]. |