summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileCache.h
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/cmListFileCache.h
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/cmListFileCache.h')
-rw-r--r--Source/cmListFileCache.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmListFileCache.h b/Source/cmListFileCache.h
index f85b430..1971862a 100644
--- a/Source/cmListFileCache.h
+++ b/Source/cmListFileCache.h
@@ -76,19 +76,15 @@ class cmListFileBacktrace: private std::vector<cmListFileContext>
public:
cmListFileBacktrace(cmLocalGenerator* localGen = 0)
: LocalGenerator(localGen)
- , Relative(localGen ? false : true)
{
}
void Append(cmListFileContext const& context);
- void MakeRelative();
-
void PrintTitle(std::ostream& out);
void PrintCallStack(std::ostream& out);
private:
cmLocalGenerator* LocalGenerator;
- bool Relative;
};
struct cmListFile