diff --git a/src/mips/psyqo/fixed-point.hh b/src/mips/psyqo/fixed-point.hh index 435361bb1c..d8e0b01c17 100644 --- a/src/mips/psyqo/fixed-point.hh +++ b/src/mips/psyqo/fixed-point.hh @@ -147,7 +147,7 @@ class FixedPoint { * power of 2. * @return constexpr T The integer part of the fixed point number. */ - template + template constexpr T integer() const { if constexpr (std::is_signed::value) { if (value < 0) { diff --git a/src/mips/psyqo/fragments.hh b/src/mips/psyqo/fragments.hh index ac618c32f2..441689150a 100644 --- a/src/mips/psyqo/fragments.hh +++ b/src/mips/psyqo/fragments.hh @@ -66,8 +66,7 @@ template struct SimpleFragment { constexpr size_t maxSize() const { return 1; } SimpleFragment() { - static_assert(sizeof(*this) == (sizeof(uint32_t) + sizeof(Prim)), - "Spurious padding in simple fragment"); + static_assert(sizeof(*this) == (sizeof(uint32_t) + sizeof(Prim)), "Spurious padding in simple fragment"); } typedef Prim FragmentBaseType; constexpr size_t getActualFragmentSize() const { return sizeof(Prim) / sizeof(uint32_t); }