summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-07-04 10:14:58 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-06 15:22:41 (GMT)
commit91158a3369e0f06600a9ada93222535d53361035 (patch)
treef34dca79eecf4d4c83882a2a5df7e741f8c041ac /Source
parent821f91d6ab668bbfcfc645a872acf91f71f76ff1 (diff)
downloadCMake-91158a3369e0f06600a9ada93222535d53361035.zip
CMake-91158a3369e0f06600a9ada93222535d53361035.tar.gz
CMake-91158a3369e0f06600a9ada93222535d53361035.tar.bz2
cmMakefile: Create intermediate variables for snapshot frames.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.cxx6
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;
}