From 393b9e435d788c9fcb75d1b73e81c657537a94e7 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Thu, 25 Nov 2021 09:47:06 -0500 Subject: [PATCH] Internals: Revert previous commit const for clang. --- include/verilated_imp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/verilated_imp.h b/include/verilated_imp.h index 3a3003437..f612c55f5 100644 --- a/include/verilated_imp.h +++ b/include/verilated_imp.h @@ -60,8 +60,8 @@ public: private: // MEMBERS - const vluint32_t m_mtaskId; // MTask that did enqueue - const std::function m_cb; // Lambda to execute when message received + vluint32_t m_mtaskId; // MTask that did enqueue + std::function m_cb; // Lambda to execute when message received public: // CONSTRUCTORS explicit VerilatedMsg(const std::function& cb)