mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
C++11: Use member declaration initalizations. No functional change intended.
This commit is contained in:
+3
-4
@@ -183,7 +183,7 @@ private:
|
||||
//
|
||||
// STATE
|
||||
int m_origStep; // Step number where subst was recorded
|
||||
bool m_ok; // No misassignments found
|
||||
bool m_ok = true; // No misassignments found
|
||||
|
||||
// METHODS
|
||||
SubstVarEntry* findEntryp(AstVarRef* nodep) {
|
||||
@@ -210,10 +210,9 @@ private:
|
||||
|
||||
public:
|
||||
// CONSTRUCTORS
|
||||
SubstUseVisitor(AstNode* nodep, int origStep) {
|
||||
SubstUseVisitor(AstNode* nodep, int origStep)
|
||||
: m_origStep(origStep) {
|
||||
UINFO(9, " SubstUseVisitor " << origStep << " " << nodep << endl);
|
||||
m_ok = true;
|
||||
m_origStep = origStep;
|
||||
iterate(nodep);
|
||||
}
|
||||
virtual ~SubstUseVisitor() override {}
|
||||
|
||||
Reference in New Issue
Block a user