summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-03-19 14:00:08 (GMT)
committerBrad King <brad.king@kitware.com>2019-03-19 14:00:08 (GMT)
commitb52d9d69603fa430750fe3528aef2400f5edcda2 (patch)
treea9e2bc673275eb1e919e57764d9bc72cfc16f88d /Source/cmSystemTools.h
parenta13a5c948e3e530716efaae0f56d9d9766c5d315 (diff)
downloadCMake-b52d9d69603fa430750fe3528aef2400f5edcda2.zip
CMake-b52d9d69603fa430750fe3528aef2400f5edcda2.tar.gz
CMake-b52d9d69603fa430750fe3528aef2400f5edcda2.tar.bz2
cmSystemTools: Drop unused CollapseCombinedPath method
All call sites have been converted to `CollapseFullPath`, so the now-unused `CollapseCombinedPath` can be removed. Fixes: #19050
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index 60e8c18..b5f65c7 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -374,12 +374,6 @@ public:
static std::string ForceToRelativePath(std::string const& local_path,
std::string const& remote_path);
- /** Joins two paths while collapsing x/../ parts
- * For example CollapseCombinedPath("a/b/c", "../../d") results in "a/d"
- */
- static std::string CollapseCombinedPath(std::string const& dir,
- std::string const& file);
-
#ifdef CMAKE_BUILD_WITH_CMAKE
/** Remove an environment variable */
static bool UnsetEnv(const char* value);