diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-02-17 15:51:48 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2020-02-17 15:51:48 (GMT) |
commit | 665c8fde8bd2e015c9c01d095cd31987f78f74e4 (patch) | |
tree | 446606bbe0f7d13c8cff97110ebdcfab6e66a504 /Source/cmGraphAdjacencyList.h | |
parent | 6d00a2de7b019b17bd9735108c1e80c2031f345a (diff) | |
parent | 7abc3d61acf5be976ce5b9f2c13f48f7f61e8e76 (diff) | |
download | CMake-665c8fde8bd2e015c9c01d095cd31987f78f74e4.zip CMake-665c8fde8bd2e015c9c01d095cd31987f78f74e4.tar.gz CMake-665c8fde8bd2e015c9c01d095cd31987f78f74e4.tar.bz2 |
Merge branch 'backport-ninja-multi-framework-dependency-autogen-fix' into ninja-multi-framework-dependency-autogen-fix
Diffstat (limited to 'Source/cmGraphAdjacencyList.h')
-rw-r--r-- | Source/cmGraphAdjacencyList.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmGraphAdjacencyList.h b/Source/cmGraphAdjacencyList.h index 5ed6af4..4e1f128 100644 --- a/Source/cmGraphAdjacencyList.h +++ b/Source/cmGraphAdjacencyList.h @@ -18,9 +18,10 @@ class cmGraphEdge { public: - cmGraphEdge(int n, bool s, cmListFileBacktrace bt) + cmGraphEdge(int n, bool s, bool c, cmListFileBacktrace bt) : Dest(n) , Strong(s) + , Cross(c) , Backtrace(std::move(bt)) { } @@ -28,11 +29,14 @@ public: bool IsStrong() const { return this->Strong; } + bool IsCross() const { return this->Cross; } + cmListFileBacktrace const& GetBacktrace() const { return this->Backtrace; } private: int Dest; bool Strong; + bool Cross; cmListFileBacktrace Backtrace; }; struct cmGraphEdgeList : public std::vector<cmGraphEdge> |