summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-12 00:44:41 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-12 18:09:47 (GMT)
commit57dd094eded03a94402b6eecf7027325bd7b5136 (patch)
treec0690faf3bb1a2772344502e9ca8934fa625c53a /Source/cmCommands.h
parent6deb43e6c836a61536c3d6e36ca16b51013e9134 (diff)
downloadCMake-57dd094eded03a94402b6eecf7027325bd7b5136.zip
CMake-57dd094eded03a94402b6eecf7027325bd7b5136.tar.gz
CMake-57dd094eded03a94402b6eecf7027325bd7b5136.tar.bz2
Use vector, not list for cmCommand storage.
Diffstat (limited to 'Source/cmCommands.h')
-rw-r--r--Source/cmCommands.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmCommands.h b/Source/cmCommands.h
index e902853..7a94423 100644
--- a/Source/cmCommands.h
+++ b/Source/cmCommands.h
@@ -13,7 +13,7 @@
#define cmCommands_h
#include "cmStandardIncludes.h"
-#include <list>
+#include <vector>
class cmCommand;
/**
@@ -23,9 +23,9 @@ class cmCommand;
* It is up to the caller to delete the commands created by this
* call.
*/
-void GetBootstrapCommands1(std::list<cmCommand*>& commands);
-void GetBootstrapCommands2(std::list<cmCommand*>& commands);
-void GetPredefinedCommands(std::list<cmCommand*>& commands);
+void GetBootstrapCommands1(std::vector<cmCommand*>& commands);
+void GetBootstrapCommands2(std::vector<cmCommand*>& commands);
+void GetPredefinedCommands(std::vector<cmCommand*>& commands);
#endif