summaryrefslogtreecommitdiff
path: root/Source/kwsys/SystemTools.hxx.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-04-06 09:24:42 -0400
committerBrad King <brad.king@kitware.com>2020-04-06 09:24:42 -0400
commitdd8365b3f1ec8f3b34aab555b3fe106c101fde30 (patch)
tree6a24697585c2b9645b65fd5644736f3fd5f961b7 /Source/kwsys/SystemTools.hxx.in
parentc18c781cb5c7c74c6f6fb8574b2aa86d98516f6d (diff)
parentfe6d7d6c4208df4598b725d43860ded4b316640d (diff)
downloadcmake-dd8365b3f1ec8f3b34aab555b3fe106c101fde30.tar.gz
Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream * upstream-KWSys: KWSys 2020-04-06 (af1f389c)
Diffstat (limited to 'Source/kwsys/SystemTools.hxx.in')
-rw-r--r--Source/kwsys/SystemTools.hxx.in11
1 files changed, 5 insertions, 6 deletions
diff --git a/Source/kwsys/SystemTools.hxx.in b/Source/kwsys/SystemTools.hxx.in
index d4a93faf7a..e13d03e275 100644
--- a/Source/kwsys/SystemTools.hxx.in
+++ b/Source/kwsys/SystemTools.hxx.in
@@ -411,11 +411,11 @@ public:
* (which defaults to the current working directory). The full path
* is returned.
*/
- static std::string CollapseFullPath(const std::string& in_relative);
- static std::string CollapseFullPath(const std::string& in_relative,
+ static std::string CollapseFullPath(std::string const& in_path);
+ static std::string CollapseFullPath(std::string const& in_path,
const char* in_base);
- static std::string CollapseFullPath(const std::string& in_relative,
- const std::string& in_base);
+ static std::string CollapseFullPath(std::string const& in_path,
+ std::string const& in_base);
/**
* Get the real path for a given path, removing all symlinks. In
@@ -869,7 +869,7 @@ public:
/**
* Get current working directory CWD
*/
- static std::string GetCurrentWorkingDirectory(bool collapse = true);
+ static std::string GetCurrentWorkingDirectory();
/**
* Change directory to the directory specified
@@ -981,7 +981,6 @@ private:
return &SystemToolsManagerInstance;
}
- static SystemToolsStatic* Statics;
friend class SystemToolsStatic;
friend class SystemToolsManager;
};