summaryrefslogtreecommitdiff
path: root/Source/cmTest.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-05-23 14:41:46 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2014-06-05 12:44:04 -0400
commitd46c650d676420a3053ba39e7af8808d581d04ab (patch)
treee25c57afe9794bf3c48b5b20ff8658b34cbc0103 /Source/cmTest.cxx
parent88818b680549651b6531a6648396d749b759afb2 (diff)
downloadcmake-d46c650d676420a3053ba39e7af8808d581d04ab.tar.gz
cmMakefile: return a backtrace
This allows backtraces to be fully controlled by the makefile rather than externally (and makes changing how they are manipulated easier).
Diffstat (limited to 'Source/cmTest.cxx')
-rw-r--r--Source/cmTest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTest.cxx b/Source/cmTest.cxx
index 28a7bb17c9..f0288b2b85 100644
--- a/Source/cmTest.cxx
+++ b/Source/cmTest.cxx
@@ -22,7 +22,7 @@ cmTest::cmTest(cmMakefile* mf)
this->OldStyle = true;
this->Properties.SetCMakeInstance(mf->GetCMakeInstance());
this->Backtrace = new cmListFileBacktrace;
- this->Makefile->GetBacktrace(*this->Backtrace);
+ *this->Backtrace = this->Makefile->GetBacktrace();
}
//----------------------------------------------------------------------------