diff options
Diffstat (limited to 'SystemTools.cxx')
-rw-r--r-- | SystemTools.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/SystemTools.cxx b/SystemTools.cxx index 1c4fe33..c5bbd41 100644 --- a/SystemTools.cxx +++ b/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__) |