diff --git a/include/verilated.cpp b/include/verilated.cpp index 6b9afb92c..bdb184419 100644 --- a/include/verilated.cpp +++ b/include/verilated.cpp @@ -278,9 +278,7 @@ Verilated::Serialized::Serialized() { s_timeprecision = VL_TIME_PRECISION; // Initial value until overriden by _Vconfigure } -void Verilated::NonSerialized::setup() { - s_profThreadsFilenamep = strdup("profile_threads.dat"); -} +void Verilated::NonSerialized::setup() { s_profThreadsFilenamep = strdup("profile_threads.dat"); } void Verilated::NonSerialized::teardown() { if (s_profThreadsFilenamep) { VL_DO_CLEAR(free(const_cast(s_profThreadsFilenamep)), @@ -2497,12 +2495,8 @@ void Verilated::endOfEvalGuts(VerilatedEvalMsgQueue* evalMsgQp) VL_MT_SAFE { // ctor nor dtor of members are not called automatically. // VerilatedInitializer::setup() and teardown() guarantees to initialize/destruct just once. -void VerilatedImp::setup() { - new (&VerilatedImp::s_s) VerilatedImpData(); -} -void VerilatedImp::teardown() { - VerilatedImp::s_s.~VerilatedImpU(); -} +void VerilatedImp::setup() { new (&VerilatedImp::s_s) VerilatedImpData(); } +void VerilatedImp::teardown() { VerilatedImp::s_s.~VerilatedImpU(); } //=========================================================================== // VerilatedImp:: Methods