Internal member initialization. No functional change intended.

This commit is contained in:
Wilson Snyder
2020-11-15 15:40:35 -05:00
parent e74cc32f2d
commit f6f7684ccd
12 changed files with 39 additions and 72 deletions
+1 -2
View File
@@ -51,8 +51,7 @@ struct GraphPCNode {
// GraphPathChecker implementation
GraphPathChecker::GraphPathChecker(const V3Graph* graphp, V3EdgeFuncP edgeFuncp)
: GraphAlg<const V3Graph>{graphp, edgeFuncp}
, m_generation{0} {
: GraphAlg<const V3Graph>{graphp, edgeFuncp} {
for (V3GraphVertex* vxp = graphp->verticesBeginp(); vxp; vxp = vxp->verticesNextp()) {
// Setup tracking structure for each node. If delete a vertex
// there would be a leak, but ok as accept only const V3Graph*'s.