diff --git a/src/runtime/local/kernels/BinaryOpCode.h b/src/runtime/local/kernels/BinaryOpCode.h index 12a2fd35f..775d3af9a 100644 --- a/src/runtime/local/kernels/BinaryOpCode.h +++ b/src/runtime/local/kernels/BinaryOpCode.h @@ -93,7 +93,7 @@ static constexpr bool supportsBinaryOp = false; // simplicity). #define SUPPORT(Op, VT) \ template <> \ - constexpr bool supportsBinaryOp = true; + static constexpr bool supportsBinaryOp = true; // Generates code specifying that all binary operations of a certain category // should be supported on the given value type `VT` (for the result and the two @@ -154,10 +154,10 @@ SUPPORT_NUMERIC_INT(uint64_t) SUPPORT_NUMERIC_INT(uint32_t) SUPPORT_NUMERIC_INT(uint8_t) template <> -constexpr bool supportsBinaryOp = true; template <> -constexpr bool +static constexpr bool supportsBinaryOp = true;