one more GCC < 8 fix

This commit is contained in:
tildearrow 2022-06-20 04:58:03 -05:00
parent 337e2183cd
commit 6772159d5f

View file

@ -784,7 +784,7 @@ public:
protected:
// simulate the DAC discontinuity
constexpr int32_t dac_discontinuity(int32_t value) const { return (value < 0) ? (value - 2) : (value + 3); }
int32_t dac_discontinuity(int32_t value) const { return (value < 0) ? (value - 2) : (value + 3); }
// internal state
uint16_t m_address; // address register