Internals: Cleanup some defaults. No functional change.

This commit is contained in:
Wilson Snyder 2022-05-12 23:30:39 -04:00
parent 71dedccbbe
commit 38438b3373
4 changed files with 6 additions and 6 deletions

View File

@ -157,8 +157,8 @@ protected:
friend class VerilatedCovImp;
// CONSTRUCTORS
// Internal: Only made as part of VerilatedCovImp
VerilatedCovContext() {}
virtual ~VerilatedCovContext() {}
VerilatedCovContext() = default;
virtual ~VerilatedCovContext() = default;
// METHODS
// Internal: access to implementation class

View File

@ -317,7 +317,7 @@ public:
iterate(nodep);
m_graph.latchCheck(nodep, kwd == VAlwaysKwd::ALWAYS_LATCH);
}
virtual ~ActiveLatchCheckVisitor() {}
virtual ~ActiveLatchCheckVisitor() = default;
};
//######################################################################

View File

@ -40,7 +40,7 @@ public:
__LINE__, m_info.product);
}
}
~TestSimulator() {}
~TestSimulator() = default;
// METHORS
private:
static TestSimulator& singleton() {

View File

@ -9,8 +9,8 @@
class t_extend_class_c {
public:
// CONSTRUCTORS
t_extend_class_c() {}
~t_extend_class_c() {}
t_extend_class_c() = default;
~t_extend_class_c() = default;
// METHODS
// This function will be called from a instance created in Verilog
inline uint32_t my_math(uint32_t in) { return in + 1; }