aboutsummaryrefslogtreecommitdiff
path: root/internal/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/common.h')
-rw-r--r--internal/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/common.h b/internal/common.h
index 332ad07..708cc40 100644
--- a/internal/common.h
+++ b/internal/common.h
@@ -165,7 +165,7 @@ Integer RoundUpToPowerOfTwo(Integer n) {
template <int N>
struct IsPowerOfTwo {
- static const bool value = !(N & (N - 1));
+ static constexpr bool value = !(N & (N - 1));
};
template <typename T>