summaryrefslogtreecommitdiffstats
path: root/Source/cmGraphAdjacencyList.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-08-20 18:11:18 (GMT)
committerBrad King <brad.king@kitware.com>2010-08-25 21:10:00 (GMT)
commit7be2617b5a52529ce0ca33e6c878a0294e1e2781 (patch)
tree9f6246316213f16ecd20d05b812965b51a29d30b /Source/cmGraphAdjacencyList.h
parent95b3bb5dbcb6021f07329f5bc400b1a205386970 (diff)
downloadCMake-7be2617b5a52529ce0ca33e6c878a0294e1e2781.zip
CMake-7be2617b5a52529ce0ca33e6c878a0294e1e2781.tar.gz
CMake-7be2617b5a52529ce0ca33e6c878a0294e1e2781.tar.bz2
Split notion of node lists and edge lists
Diffstat (limited to 'Source/cmGraphAdjacencyList.h')
-rw-r--r--Source/cmGraphAdjacencyList.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGraphAdjacencyList.h b/Source/cmGraphAdjacencyList.h
index 7794840..41411c4 100644
--- a/Source/cmGraphAdjacencyList.h
+++ b/Source/cmGraphAdjacencyList.h
@@ -14,7 +14,8 @@
#include "cmStandardIncludes.h"
+struct cmGraphEdgeList: public std::vector<int> {};
struct cmGraphNodeList: public std::vector<int> {};
-struct cmGraphAdjacencyList: public std::vector<cmGraphNodeList> {};
+struct cmGraphAdjacencyList: public std::vector<cmGraphEdgeList> {};
#endif