diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-17 21:12:16 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-05-18 19:25:48 (GMT) |
commit | 9b4aefad41218866e392021b6d7239b2eeb50390 (patch) | |
tree | 81fceeece3888e6905fb3ca73ebddcfcb48fe499 /Source | |
parent | 00ccfff2bc06e640a185fb3d628ac36ea0b0fe9a (diff) | |
download | CMake-9b4aefad41218866e392021b6d7239b2eeb50390.zip CMake-9b4aefad41218866e392021b6d7239b2eeb50390.tar.gz CMake-9b4aefad41218866e392021b6d7239b2eeb50390.tar.bz2 |
cmMakefile: Replace deques with vectors.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmMakefile.cxx | 2 | ||||
-rw-r--r-- | Source/cmMakefile.h | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 7b8d3af..272ac4c 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -4371,7 +4371,7 @@ std::string cmMakefile::GetListFileStack() const size_t depth = this->ListFileStack.size(); if (depth > 0) { - std::deque<std::string>::const_iterator it = this->ListFileStack.end(); + std::vector<std::string>::const_iterator it = this->ListFileStack.end(); do { if (depth != this->ListFileStack.size()) diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index e0eef6f..453884a 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -35,7 +35,6 @@ #endif #include <stack> -#include <deque> class cmFunctionBlocker; class cmCommand; @@ -963,7 +962,7 @@ private: bool CheckSystemVars; // stack of list files being read - std::deque<std::string> ListFileStack; + std::vector<std::string> ListFileStack; // stack of commands being invoked. struct CallStackEntry @@ -971,7 +970,7 @@ private: cmListFileContext const* Context; cmExecutionStatus* Status; }; - typedef std::deque<CallStackEntry> CallStackType; + typedef std::vector<CallStackEntry> CallStackType; CallStackType CallStack; friend class cmMakefileCall; |