From 300b623a90e77c6a893a43edb3f1fc622dba9761 Mon Sep 17 00:00:00 2001 From: Mateusz Gancarz Date: Thu, 27 Feb 2025 14:54:29 +0100 Subject: [PATCH] [#73220] fix static_assert clang compilation error --- include/verilated_saif_c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/verilated_saif_c.h b/include/verilated_saif_c.h index 95d4efa1e..577591269 100644 --- a/include/verilated_saif_c.h +++ b/include/verilated_saif_c.h @@ -75,7 +75,7 @@ public: template VL_ATTR_ALWINLINE void emitData(uint64_t time, DataType newval, uint32_t bits) { - static_assert(std::is_integral::value); + static_assert(std::is_integral::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++) {