summaryrefslogtreecommitdiff
path: root/src/common/bit_set.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-08 15:28:34 -0400
committerGitHub <noreply@github.com>2018-08-08 15:28:34 -0400
commitd224eb7c39c43754929972d07998db79ba093279 (patch)
tree4059c27a33d3595cfc37f6316a4e29290221e3d3 /src/common/bit_set.h
parentfd9da4232b2f989257630884511ba50e108ad703 (diff)
parenta7d6efc5201960b351fee4760663388dd946ab8e (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.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[].