From f91793e931e56b8218ab7f54d068d90e7ca28436 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sat, 30 Jul 2022 13:53:54 -0400 Subject: [PATCH] Revert - SC overrides cause non-override clang error. --- include/verilated_fst_sc.h | 2 +- include/verilated_vcd_sc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/verilated_fst_sc.h b/include/verilated_fst_sc.h index 872fe2e0b..9c7c07c4c 100644 --- a/include/verilated_fst_sc.h +++ b/include/verilated_fst_sc.h @@ -51,7 +51,7 @@ public: } spTrace()->set_time_resolution(sc_get_time_resolution().to_string()); } - ~VerilatedFstSc() override { close(); } + virtual ~VerilatedFstSc() /*override*/ { close(); } // METHODS /// Called by SystemC simulate() diff --git a/include/verilated_vcd_sc.h b/include/verilated_vcd_sc.h index 5610fcd9a..6f8edf3a1 100644 --- a/include/verilated_vcd_sc.h +++ b/include/verilated_vcd_sc.h @@ -54,7 +54,7 @@ public: spTrace()->set_time_resolution(sc_get_time_resolution().to_string()); } /// Destruct, flush, and close the dump - ~VerilatedVcdSc() override { close(); } + virtual ~VerilatedVcdSc() /*override*/ { close(); } // METHODS - for SC kernel // Called by SystemC simulate()