From 70238bbdc4d6348b4bbc07d94ee880a681dc9e8d Mon Sep 17 00:00:00 2001 From: Mateusz Gancarz Date: Fri, 28 Feb 2025 08:20:22 +0100 Subject: [PATCH] [#73220] fix order of member variables initialization --- include/verilated_saif_c.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/verilated_saif_c.h b/include/verilated_saif_c.h index e0bb0be23..5736726d8 100644 --- a/include/verilated_saif_c.h +++ b/include/verilated_saif_c.h @@ -63,8 +63,8 @@ class ActivityVar { public: // CONSTRUCTORS ActivityVar(uint32_t width, ActivityBit* bits) - : m_width{width} - , m_bits{bits} {} + : m_bits{bits} + , m_width{width} {} ActivityVar(ActivityVar&&) = default; ActivityVar& operator=(ActivityVar&&) = default; @@ -97,8 +97,8 @@ private: VL_UNCOPYABLE(ActivityVar); // MEMBERS - ActivityBit* m_bits; uint64_t m_lastTime{0}; + ActivityBit* m_bits; uint32_t m_width; };