summaryrefslogtreecommitdiffstats
path: root/SystemTools.hxx.in
diff options
context:
space:
mode:
authorKWSys Upstream <kwrobot@kitware.com>2018-06-22 11:44:17 (GMT)
committerBrad King <brad.king@kitware.com>2018-06-22 15:31:35 (GMT)
commit6d7fdedde6c41e6d5e7840a7d653d490296aa6e7 (patch)
tree3a7fa3643af93f1048dcfd04040c5d403edbd456 /SystemTools.hxx.in
parentf3cd44263ed4640b7092e0d280e153894a38fc9e (diff)
downloadCMake-6d7fdedde6c41e6d5e7840a7d653d490296aa6e7.zip
CMake-6d7fdedde6c41e6d5e7840a7d653d490296aa6e7.tar.gz
CMake-6d7fdedde6c41e6d5e7840a7d653d490296aa6e7.tar.bz2
KWSys 2018-06-22 (49068d94)
Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 49068d948ee03cde172fe5ff15a2778c50f91d38 (master). Upstream Shortlog ----------------- Brad King (1): 5d6f59fe SystemTools: Change SplitString return type to use std::string
Diffstat (limited to 'SystemTools.hxx.in')
-rw-r--r--SystemTools.hxx.in8
1 files changed, 3 insertions, 5 deletions
diff --git a/SystemTools.hxx.in b/SystemTools.hxx.in
index 928ee41..8d1f78c 100644
--- a/SystemTools.hxx.in
+++ b/SystemTools.hxx.in
@@ -10,8 +10,6 @@
#include <string>
#include <vector>
-#include <@KWSYS_NAMESPACE@/String.hxx>
-
#include <sys/types.h>
// include sys/stat.h after sys/types.h
#include <sys/stat.h>
@@ -197,9 +195,9 @@ public:
s starts with a / then the first element of the returned array will
be /, so /foo/bar will be [/, foo, bar]
*/
- static std::vector<String> SplitString(const std::string& s,
- char separator = '/',
- bool isPath = false);
+ static std::vector<std::string> SplitString(const std::string& s,
+ char separator = '/',
+ bool isPath = false);
/**
* Perform a case-independent string comparison
*/