summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-11-25 00:43:04 (GMT)
committerBrad King <brad.king@kitware.com>2015-11-25 15:36:52 (GMT)
commitbc1d3a8a8783848016ef12044a02a28b620c41a0 (patch)
tree80010fe685d978efe82b5e570659bb5691adcaf4
parent85fe26b5f742b704b51a7e15b4806366feab3a23 (diff)
downloadCMake-bc1d3a8a8783848016ef12044a02a28b620c41a0.zip
CMake-bc1d3a8a8783848016ef12044a02a28b620c41a0.tar.gz
CMake-bc1d3a8a8783848016ef12044a02a28b620c41a0.tar.bz2
cmListFileCache: Implement cmListFileBacktrace ctor/dtor out-of-line
-rw-r--r--Source/cmListFileCache.cxx11
-rw-r--r--Source/cmListFileCache.h6
2 files changed, 13 insertions, 4 deletions
diff --git a/Source/cmListFileCache.cxx b/Source/cmListFileCache.cxx
index bff2986..676074f 100644
--- a/Source/cmListFileCache.cxx
+++ b/Source/cmListFileCache.cxx
@@ -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())
diff --git a/Source/cmListFileCache.h b/Source/cmListFileCache.h
index 0afd7f5..17ee10f 100644
--- a/Source/cmListFileCache.h
+++ b/Source/cmListFileCache.h
@@ -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;