Skip to content
Snippets Groups Projects
Commit bc1d3a8a authored by Brad King's avatar Brad King
Browse files

cmListFileCache: Implement cmListFileBacktrace ctor/dtor out-of-line

parent 85fe26b5
No related merge requests found
......@@ -398,6 +398,17 @@ bool cmListFileParser::AddArgument(cmListFileLexer_Token* token,
}
}
cmListFileBacktrace::cmListFileBacktrace(cmState::Snapshot snapshot,
cmCommandContext const& cc)
: Context(cc)
, Snapshot(snapshot)
{
}
cmListFileBacktrace::~cmListFileBacktrace()
{
}
void cmListFileBacktrace::PrintTitle(std::ostream& out) const
{
if (!this->Snapshot.IsValid())
......
......@@ -90,10 +90,8 @@ class cmListFileBacktrace
{
public:
cmListFileBacktrace(cmState::Snapshot snapshot = cmState::Snapshot(),
cmCommandContext const& cc = cmCommandContext())
: Context(cc), Snapshot(snapshot)
{
}
cmCommandContext const& cc = cmCommandContext());
~cmListFileBacktrace();
void PrintTitle(std::ostream& out) const;
void PrintCallStack(std::ostream& out) const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment