summaryrefslogtreecommitdiff
path: root/Source/cmComputeComponentGraph.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-07 09:43:11 +0200
committerStephen Kelly <steveire@gmail.com>2015-06-07 09:43:39 +0200
commitd9df7fa70c854207bb36b45ca0fdca6665bd4bd8 (patch)
tree5e32241181d61791ef0b90c4d81e6fe65564ec03 /Source/cmComputeComponentGraph.h
parentdb24e41b9d939fb8ad9106f7a8511670505a8ad0 (diff)
downloadcmake-d9df7fa70c854207bb36b45ca0fdca6665bd4bd8.tar.gz
cmComputeComponentGraph: Re-arrange data layout.
Size goes from 224 to 216 bytes.
Diffstat (limited to 'Source/cmComputeComponentGraph.h')
-rw-r--r--Source/cmComputeComponentGraph.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmComputeComponentGraph.h b/Source/cmComputeComponentGraph.h
index a2ce946c1e..4dbac4a2e1 100644
--- a/Source/cmComputeComponentGraph.h
+++ b/Source/cmComputeComponentGraph.h
@@ -67,17 +67,17 @@ private:
int Root;
int VisitIndex;
};
- int TarjanWalkId;
std::vector<int> TarjanVisited;
std::vector<int> TarjanComponents;
std::vector<TarjanEntry> TarjanEntries;
+ std::vector<NodeList> Components;
std::stack<int> TarjanStack;
+ int TarjanWalkId;
int TarjanIndex;
void Tarjan();
void TarjanVisit(int i);
// Connected components.
- std::vector<NodeList> Components;
};
#endif