summaryrefslogtreecommitdiffstats
path: root/Source/cmGraphAdjacencyList.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmGraphAdjacencyList.h')
-rw-r--r--Source/cmGraphAdjacencyList.h19
1 files changed, 2 insertions, 17 deletions
diff --git a/Source/cmGraphAdjacencyList.h b/Source/cmGraphAdjacencyList.h
index e6aec47..46cf878 100644
--- a/Source/cmGraphAdjacencyList.h
+++ b/Source/cmGraphAdjacencyList.h
@@ -3,7 +3,7 @@
#ifndef cmGraphAdjacencyList_h
#define cmGraphAdjacencyList_h
-#include <cmConfigure.h> // IWYU pragma: keep
+#include "cmConfigure.h" // IWYU pragma: keep
#include <vector>
@@ -15,26 +15,11 @@
class cmGraphEdge
{
public:
- cmGraphEdge()
- : Dest(0)
- , Strong(true)
- {
- }
- cmGraphEdge(int n)
- : Dest(n)
- , Strong(true)
- {
- }
- cmGraphEdge(int n, bool s)
+ cmGraphEdge(int n = 0, bool s = true)
: Dest(n)
, Strong(s)
{
}
- cmGraphEdge(cmGraphEdge const& r)
- : Dest(r.Dest)
- , Strong(r.Strong)
- {
- }
operator int() const { return this->Dest; }
bool IsStrong() const { return this->Strong; }