diff options
author | KWSys Upstream <kwrobot@kitware.com> | 2017-05-31 12:56:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-05-31 13:11:11 (GMT) |
commit | 50988f6d763d99dc7d016000157528fa0ab20086 (patch) | |
tree | f9b7c1644718e442d27bd5f098b6ac44119834ad /SystemTools.hxx.in | |
parent | 402c6c121c924e68c17ce04de8dc5d28dac6fa6e (diff) | |
download | CMake-50988f6d763d99dc7d016000157528fa0ab20086.zip CMake-50988f6d763d99dc7d016000157528fa0ab20086.tar.gz CMake-50988f6d763d99dc7d016000157528fa0ab20086.tar.bz2 |
KWSys 2017-05-31 (bd0bbad7)
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit bd0bbad7f47776565d87aeb3657250974a426190 (master).
Upstream Shortlog
-----------------
Daniel Pfeifer (1):
0f7ec930 Pass std::string as const&
Matteo Settenvini (1):
6173f4b3 SystemTools: Add function to remove empty path components
Diffstat (limited to 'SystemTools.hxx.in')
-rw-r--r-- | SystemTools.hxx.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/SystemTools.hxx.in b/SystemTools.hxx.in index 0849e1d..5e091c2 100644 --- a/SystemTools.hxx.in +++ b/SystemTools.hxx.in @@ -474,6 +474,10 @@ public: static std::string JoinPath(std::vector<std::string>::const_iterator first, std::vector<std::string>::const_iterator last); + /** Removes empty components from path. + */ + static void RemoveEmptyPathElements(std::vector<std::string>& path); + /** * Compare a path or components of a path. */ |