summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-23 11:50:12 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-02 23:04:00 (GMT)
commit499ebb6564800c23bfb6e7b1b706a6202b3f971a (patch)
tree5530ede11b8bc467ebd14005e83e169cc691f92b /Source/cmake.cxx
parent80b433b05ea921e6144c10260cfeafb4b25e5bc1 (diff)
downloadCMake-499ebb6564800c23bfb6e7b1b706a6202b3f971a.zip
CMake-499ebb6564800c23bfb6e7b1b706a6202b3f971a.tar.gz
CMake-499ebb6564800c23bfb6e7b1b706a6202b3f971a.tar.bz2
cmListFileBacktrace: Internalize the step of making paths relative.
Currently cmMakefile calls MakeRelative on a copy of the backtrace, emits the copy to the stream once, then discards the copy. There is no need to have API for the path conversion.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 23803ef..6cd005e 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -2519,7 +2519,6 @@ void cmake::IssueMessage(cmake::MessageType t, std::string const& text,
cmListFileBacktrace const& bt)
{
cmListFileBacktrace backtrace = bt;
- backtrace.MakeRelative();
std::ostringstream msg;
if (!this->PrintMessagePreamble(t, msg))