diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-01-26 18:23:42 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2023-01-31 14:27:06 (GMT) |
commit | 65c0a64dc5bc7cb0e13721500bdd754b6630e8ea (patch) | |
tree | 327a4dc86d33fb406ebeea660c61ec7bc863907d /Source/cmComputeComponentGraph.h | |
parent | 50abdaab936e6b1a7e40d17affae03f89ac00da6 (diff) | |
download | CMake-65c0a64dc5bc7cb0e13721500bdd754b6630e8ea.zip CMake-65c0a64dc5bc7cb0e13721500bdd754b6630e8ea.tar.gz CMake-65c0a64dc5bc7cb0e13721500bdd754b6630e8ea.tar.bz2 |
cmComputeComponentGraph: use a name for "invalid component"
This is to prepare for making the graph use `size_t`.
Diffstat (limited to 'Source/cmComputeComponentGraph.h')
-rw-r--r-- | Source/cmComputeComponentGraph.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmComputeComponentGraph.h b/Source/cmComputeComponentGraph.h index 1d1d134..76879c7 100644 --- a/Source/cmComputeComponentGraph.h +++ b/Source/cmComputeComponentGraph.h @@ -53,6 +53,8 @@ public: return this->TarjanComponents; } + static const int INVALID_COMPONENT; + private: void TransferEdges(); |