cmMakefile: Replace deques with vectors.
This commit is contained in:
parent
00ccfff2bc
commit
9b4aefad41
|
@ -4371,7 +4371,7 @@ std::string cmMakefile::GetListFileStack() const
|
||||||
size_t depth = this->ListFileStack.size();
|
size_t depth = this->ListFileStack.size();
|
||||||
if (depth > 0)
|
if (depth > 0)
|
||||||
{
|
{
|
||||||
std::deque<std::string>::const_iterator it = this->ListFileStack.end();
|
std::vector<std::string>::const_iterator it = this->ListFileStack.end();
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
if (depth != this->ListFileStack.size())
|
if (depth != this->ListFileStack.size())
|
||||||
|
|
|
@ -35,7 +35,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stack>
|
#include <stack>
|
||||||
#include <deque>
|
|
||||||
|
|
||||||
class cmFunctionBlocker;
|
class cmFunctionBlocker;
|
||||||
class cmCommand;
|
class cmCommand;
|
||||||
|
@ -963,7 +962,7 @@ private:
|
||||||
bool CheckSystemVars;
|
bool CheckSystemVars;
|
||||||
|
|
||||||
// stack of list files being read
|
// stack of list files being read
|
||||||
std::deque<std::string> ListFileStack;
|
std::vector<std::string> ListFileStack;
|
||||||
|
|
||||||
// stack of commands being invoked.
|
// stack of commands being invoked.
|
||||||
struct CallStackEntry
|
struct CallStackEntry
|
||||||
|
@ -971,7 +970,7 @@ private:
|
||||||
cmListFileContext const* Context;
|
cmListFileContext const* Context;
|
||||||
cmExecutionStatus* Status;
|
cmExecutionStatus* Status;
|
||||||
};
|
};
|
||||||
typedef std::deque<CallStackEntry> CallStackType;
|
typedef std::vector<CallStackEntry> CallStackType;
|
||||||
CallStackType CallStack;
|
CallStackType CallStack;
|
||||||
friend class cmMakefileCall;
|
friend class cmMakefileCall;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue