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; friend class VerilatedCovImp;
// CONSTRUCTORS // CONSTRUCTORS
// Internal: Only made as part of VerilatedCovImp // Internal: Only made as part of VerilatedCovImp
VerilatedCovContext() {} VerilatedCovContext() = default;
virtual ~VerilatedCovContext() {} virtual ~VerilatedCovContext() = default;
// METHODS // METHODS
// Internal: access to implementation class // Internal: access to implementation class

View File

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

View File

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

View File

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