summaryrefslogtreecommitdiff
path: root/Source/cmTest.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-03-12 17:59:42 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2014-06-05 12:44:19 -0400
commit2a1b2d848693a3860f8e5f179b6c97f8c56abede (patch)
tree7987c9ba6b2be8fa15a6e7c9fe820ce512554f7e /Source/cmTest.cxx
parenta08292059eba4fdded6643b225640ebf559b2dac (diff)
downloadcmake-2a1b2d848693a3860f8e5f179b6c97f8c56abede.tar.gz
backtrace: Convert to local paths in IssueMessage
This is the only place we care show the FilePath to the user, so defer the expensive relative path calculation until here.
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 464ad60354..ff5d4119e3 100644
--- a/Source/cmTest.cxx
+++ b/Source/cmTest.cxx
@@ -17,11 +17,11 @@
//----------------------------------------------------------------------------
cmTest::cmTest(cmMakefile* mf)
+ : Backtrace(mf->GetBacktrace())
{
this->Makefile = mf;
this->OldStyle = true;
this->Properties.SetCMakeInstance(mf->GetCMakeInstance());
- this->Backtrace = this->Makefile->GetBacktrace();
}
//----------------------------------------------------------------------------