diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-10 11:20:09 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-14 22:41:21 (GMT) |
commit | a48bcabd33c3d7dcab394e267d4f1b5d21e0d85d (patch) | |
tree | 50a1de34ea3aba988aee283e892841b444b307e6 /Source/cmTarget.cxx | |
parent | 6694d99376c8fa7ff327a6b07787cef1bea9b93b (diff) | |
download | CMake-a48bcabd33c3d7dcab394e267d4f1b5d21e0d85d.zip CMake-a48bcabd33c3d7dcab394e267d4f1b5d21e0d85d.tar.gz CMake-a48bcabd33c3d7dcab394e267d4f1b5d21e0d85d.tar.bz2 |
cmTarget: Move backtrace member out of internal class.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index fd8ea3e..369e497 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -64,9 +64,6 @@ const char* cmTarget::GetTargetTypeName(TargetType targetType) class cmTargetInternals { public: - // The backtrace when the target was created. - cmListFileBacktrace Backtrace; - typedef std::map<std::string, cmTarget::ImportInfo> ImportInfoMapType; ImportInfoMapType ImportInfoMap; @@ -240,7 +237,7 @@ void cmTarget::SetMakefile(cmMakefile* mf) } // Save the backtrace of target construction. - this->Internal->Backtrace = this->Makefile->GetBacktrace(); + this->Backtrace = this->Makefile->GetBacktrace(); if (!this->IsImported()) { @@ -363,7 +360,7 @@ void cmTarget::FinishConfigure() //---------------------------------------------------------------------------- cmListFileBacktrace const& cmTarget::GetBacktrace() const { - return this->Internal->Backtrace; + return this->Backtrace; } //---------------------------------------------------------------------------- |