InputCommon: Make RawValue constructors constexpr.
This commit is contained in:
parent
70485472b1
commit
24a1fe32f1
|
@ -103,8 +103,8 @@ struct ThreePointCalibration
|
|||
template <typename T, size_t Bits>
|
||||
struct RawValue
|
||||
{
|
||||
RawValue() = default;
|
||||
explicit RawValue(const T& value_) : value{value_} {}
|
||||
constexpr RawValue() = default;
|
||||
constexpr explicit RawValue(const T& value_) : value{value_} {}
|
||||
|
||||
static constexpr size_t BITS_OF_PRECISION = Bits;
|
||||
|
||||
|
|
Loading…
Reference in New Issue