diff options
author | Brad King <brad.king@kitware.com> | 2015-11-25 00:43:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-11-25 15:36:52 (GMT) |
commit | bc1d3a8a8783848016ef12044a02a28b620c41a0 (patch) | |
tree | 80010fe685d978efe82b5e570659bb5691adcaf4 | |
parent | 85fe26b5f742b704b51a7e15b4806366feab3a23 (diff) | |
download | CMake-bc1d3a8a8783848016ef12044a02a28b620c41a0.zip CMake-bc1d3a8a8783848016ef12044a02a28b620c41a0.tar.gz CMake-bc1d3a8a8783848016ef12044a02a28b620c41a0.tar.bz2 |
cmListFileCache: Implement cmListFileBacktrace ctor/dtor out-of-line
-rw-r--r-- | Source/cmListFileCache.cxx | 11 | ||||
-rw-r--r-- | Source/cmListFileCache.h | 6 |
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; |