summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemTools.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-06-09 15:03:34 (GMT)
committerBrad King <brad.king@kitware.com>2017-06-09 15:03:34 (GMT)
commit3d1c3e0dcf78849b38ab620ef36c715997af0088 (patch)
tree5f024bf5ad620c2c117d8e4a925b62ef4432cfa3 /Source/kwsys/SystemTools.cxx
parent591557ba450f1f24610ea0eefcb4e1d7665fae25 (diff)
parenta32758782c953a333c0dd1e8553aee66a4404ee5 (diff)
downloadCMake-3d1c3e0dcf78849b38ab620ef36c715997af0088.zip
CMake-3d1c3e0dcf78849b38ab620ef36c715997af0088.tar.gz
CMake-3d1c3e0dcf78849b38ab620ef36c715997af0088.tar.bz2
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys: KWSys 2017-06-09 (a700e2ab)
Diffstat (limited to 'Source/kwsys/SystemTools.cxx')
-rw-r--r--Source/kwsys/SystemTools.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index 1c4fe33..c5bbd41 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -22,7 +22,6 @@
#include KWSYS_HEADER(FStream.hxx)
#include KWSYS_HEADER(Encoding.hxx)
-#include <algorithm>
#include <fstream>
#include <iostream>
#include <set>
@@ -3709,16 +3708,6 @@ std::string SystemTools::JoinPath(
return result;
}
-void SystemTools::RemoveEmptyPathElements(std::vector<std::string>& path)
-{
- if (path.empty()) {
- return;
- }
-
- path.erase(std::remove(path.begin() + 1, path.end(), std::string("")),
- path.end());
-}
-
bool SystemTools::ComparePath(const std::string& c1, const std::string& c2)
{
#if defined(_WIN32) || defined(__APPLE__)