[#73220] fix static_assert clang compilation error
This commit is contained in:
parent
074349b682
commit
300b623a90
|
|
@ -75,7 +75,7 @@ public:
|
|||
|
||||
template <typename DataType>
|
||||
VL_ATTR_ALWINLINE void emitData(uint64_t time, DataType newval, uint32_t bits) {
|
||||
static_assert(std::is_integral<DataType>::value);
|
||||
static_assert(std::is_integral<DataType>::value, "The emitted value must be of integral type");
|
||||
|
||||
uint64_t dt = time - m_lastTime;
|
||||
for (size_t i = 0; i < std::min(m_width, bits); i++) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue