C++11: Use member declaration initalizations. No functional change intended.

This commit is contained in:
Wilson Snyder
2020-08-16 11:44:06 -04:00
parent 042d3eed23
commit 033e7ac020
55 changed files with 459 additions and 824 deletions
+2 -3
View File
@@ -153,14 +153,13 @@ public:
// Edge types
class SplitEdge : public V3GraphEdge {
uint32_t m_ignoreInStep; // Step number that if set to, causes this edge to be ignored
uint32_t m_ignoreInStep = 0; // Step number that if set to, causes this edge to be ignored
static uint32_t s_stepNum; // Global step number
protected:
enum { WEIGHT_NORMAL = 10 };
SplitEdge(V3Graph* graphp, V3GraphVertex* fromp, V3GraphVertex* top, int weight,
bool cutable = CUTABLE)
: V3GraphEdge(graphp, fromp, top, weight, cutable)
, m_ignoreInStep(0) {}
: V3GraphEdge(graphp, fromp, top, weight, cutable) {}
virtual ~SplitEdge() override {}
public: