mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-11 23:43:58 +03:00
cmMakefile: Create intermediate variables for snapshot frames.
This commit is contained in:
1 parent
821f91d6ab
commit
91158a3369
1 file changed
+4
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user