[#73220] fix static_assert clang compilation error

This commit is contained in:
Mateusz Gancarz 2025-02-27 14:54:29 +01:00
parent 074349b682
commit 300b623a90
1 changed files with 1 additions and 1 deletions

View File

@ -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++) {