mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 08:24:31 +02:00
C++11: Use member declaration initalizations. No functional change intended.
This commit is contained in:
@@ -38,11 +38,10 @@ struct GraphPCNode {
|
||||
// operation. We'll use this in pathExistsInternal() to avoid checking
|
||||
// the same node twice, and again in updateHalfCriticalPath() to assert
|
||||
// there are no cycles.
|
||||
vluint64_t m_seenAtGeneration;
|
||||
vluint64_t m_seenAtGeneration = 0;
|
||||
|
||||
// CONSTRUCTORS
|
||||
GraphPCNode()
|
||||
: m_seenAtGeneration(0) {
|
||||
GraphPCNode() {
|
||||
for (int w = 0; w < GraphWay::NUM_WAYS; w++) m_cp[w] = 0;
|
||||
}
|
||||
~GraphPCNode() {}
|
||||
|
||||
Reference in New Issue
Block a user