diff options
Diffstat (limited to 'public/bit_depth.h')
-rw-r--r-- | public/bit_depth.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/bit_depth.h b/public/bit_depth.h index 412944e..5b19430 100644 --- a/public/bit_depth.h +++ b/public/bit_depth.h @@ -22,8 +22,8 @@ namespace gemmlowp { // The range of allowed values for an operand. template <int tMinValue, int tMaxValue> struct OperandRange { - static const int kMinValue = tMinValue; - static const int kMaxValue = tMaxValue; + static constexpr int kMinValue = tMinValue; + static constexpr int kMaxValue = tMaxValue; static_assert(kMinValue < kMaxValue, ""); }; |