summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemTools.hxx.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-04-12 17:25:19 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-04-12 17:25:19 (GMT)
commit266d5d16df0c5e0356b70fe8a44c4da78814a821 (patch)
tree688f914c0cf7e22c700bc42c4019e136258acc6e /Source/kwsys/SystemTools.hxx.in
parentee7fbdf0588d9aabcd69d57a934f3681d60eff05 (diff)
downloadCMake-266d5d16df0c5e0356b70fe8a44c4da78814a821.zip
CMake-266d5d16df0c5e0356b70fe8a44c4da78814a821.tar.gz
CMake-266d5d16df0c5e0356b70fe8a44c4da78814a821.tar.bz2
ENH: optimization of cwd and do not leak library handle
Diffstat (limited to 'Source/kwsys/SystemTools.hxx.in')
-rw-r--r--Source/kwsys/SystemTools.hxx.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/kwsys/SystemTools.hxx.in b/Source/kwsys/SystemTools.hxx.in
index eec2617..1c063bd 100644
--- a/Source/kwsys/SystemTools.hxx.in
+++ b/Source/kwsys/SystemTools.hxx.in
@@ -580,7 +580,7 @@ public:
/**
* Get current working directory CWD
*/
- static kwsys_stl::string GetCurrentWorkingDirectory();
+ static kwsys_stl::string GetCurrentWorkingDirectory(bool collapse =true);
/**
* Change directory the the directory specified
@@ -668,7 +668,6 @@ private:
* Each time 'dir' will be found it will be replace by 'refdir'
*/
static SystemToolsTranslationMap *TranslationMap;
-
friend class SystemToolsManager;
};