diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-18 19:33:38 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-05-18 21:56:00 (GMT) |
commit | 61d52e6e77bef903225bd3bad3e381bac73ee557 (patch) | |
tree | 40b42b258872096cab15ca5aaac95edc1a2a089d /Source/cmCommandArgumentParserHelper.cxx | |
parent | a271f7f17707c50744c2dbeb20ae82b10c886f4f (diff) | |
download | CMake-61d52e6e77bef903225bd3bad3e381bac73ee557.zip CMake-61d52e6e77bef903225bd3bad3e381bac73ee557.tar.gz CMake-61d52e6e77bef903225bd3bad3e381bac73ee557.tar.bz2 |
cmListFileBacktrace: Hide the context-stack implementation detail.
The backtrace will soon not be implemented in terms of a stack of
cmListFileContext objects. Keep the cmListFileContext in the API
for convenience for now.
Diffstat (limited to 'Source/cmCommandArgumentParserHelper.cxx')
-rw-r--r-- | Source/cmCommandArgumentParserHelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCommandArgumentParserHelper.cxx b/Source/cmCommandArgumentParserHelper.cxx index 0d1c86d..c816c23 100644 --- a/Source/cmCommandArgumentParserHelper.cxx +++ b/Source/cmCommandArgumentParserHelper.cxx @@ -143,7 +143,7 @@ char* cmCommandArgumentParserHelper::ExpandVariable(const char* var) cmListFileContext lfc; lfc.FilePath = this->FileName; lfc.Line = this->FileLine; - bt.push_back(lfc); + bt.Append(lfc); msg << "uninitialized variable \'" << var << "\'"; this->Makefile->GetCMakeInstance()->IssueMessage(cmake::AUTHOR_WARNING, msg.str(), bt); |