mirror of
https://github.com/verilator/verilator.git
synced 2026-09-02 10:48:27 +02:00
C++11: Use member declaration initalizations. No functional change intended.
This commit is contained in:
@@ -75,7 +75,7 @@ public:
|
||||
// CONSTRUCTORS
|
||||
// cppcheck-suppress noExplicitConstructor
|
||||
explicit VerilatedCoverItemSpec(T* countp)
|
||||
: m_countp(countp) {
|
||||
: m_countp{countp} {
|
||||
*m_countp = 0;
|
||||
}
|
||||
virtual ~VerilatedCoverItemSpec() override {}
|
||||
|
||||
Reference in New Issue
Block a user