fix build in old compiler

This commit is contained in:
tildearrow 2022-01-17 17:12:24 -05:00
parent f58d926c37
commit f3a61f3222
2 changed files with 4 additions and 2 deletions

View file

@ -763,7 +763,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