mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
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…
x
Reference in New Issue
Block a user