diff options
author | Brad King <brad.king@kitware.com> | 2017-03-10 21:24:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-03-10 21:24:53 (GMT) |
commit | 83be64d99c5a545f17d1a19da6159ac853942843 (patch) | |
tree | 4edea6fb2bde0cb00b9364ac517de8a18566691a /Source/kwsys/SystemTools.cxx | |
parent | 0b2438118ad93479de09f0d7a0e9b77859f9a9c3 (diff) | |
parent | 8ba8b5537cdee251d412c331267822badc8fafdc (diff) | |
download | CMake-83be64d99c5a545f17d1a19da6159ac853942843.zip CMake-83be64d99c5a545f17d1a19da6159ac853942843.tar.gz CMake-83be64d99c5a545f17d1a19da6159ac853942843.tar.bz2 |
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
KWSys 2017-03-07 (5da8cfe0)
Diffstat (limited to 'Source/kwsys/SystemTools.cxx')
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index 8c82ec1..65b7b26 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -3331,7 +3331,7 @@ std::string SystemTools::CollapseFullPath(const std::string& in_path, SystemTools::SplitPath(in_path, path_components); // If the input path is relative, start with a base path. - if (path_components[0].length() == 0) { + if (path_components[0].empty()) { std::vector<std::string> base_components; if (in_base) { // Use the given base path. |