diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-07-04 10:14:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-06 15:22:41 (GMT) |
commit | 91158a3369e0f06600a9ada93222535d53361035 (patch) | |
tree | f34dca79eecf4d4c83882a2a5df7e741f8c041ac /Source/cmMakefile.cxx | |
parent | 821f91d6ab668bbfcfc645a872acf91f71f76ff1 (diff) | |
download | CMake-91158a3369e0f06600a9ada93222535d53361035.zip CMake-91158a3369e0f06600a9ada93222535d53361035.tar.gz CMake-91158a3369e0f06600a9ada93222535d53361035.tar.bz2 |
cmMakefile: Create intermediate variables for snapshot frames.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 0d48cbc..8d02092 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -280,7 +280,8 @@ cmListFileBacktrace cmMakefile::GetBacktrace() const i = this->ContextStack.rbegin(); i != this->ContextStack.rend(); ++i) { - backtrace.Append(*(*i)); + cmListFileContext frame = *(*i); + backtrace.Append(frame); } return backtrace; } @@ -295,7 +296,8 @@ cmMakefile::GetBacktrace(cmListFileContext const& lfc) const i = this->ContextStack.rbegin(); i != this->ContextStack.rend(); ++i) { - backtrace.Append(*(*i)); + cmListFileContext frame = *(*i); + backtrace.Append(frame); } return backtrace; } |