summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2005-03-10 22:49:27 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2005-03-10 22:49:27 (GMT)
commiteffbdf8d8f0d32cff11212588ec0fd4e73d7af0c (patch)
tree5c288eadc2f050bd3a3c1c07895e65f5642eb992 /Source
parent2415ff678a80ede6f0a05ab80ad3835fe6d810c2 (diff)
downloadCMake-effbdf8d8f0d32cff11212588ec0fd4e73d7af0c.zip
CMake-effbdf8d8f0d32cff11212588ec0fd4e73d7af0c.tar.gz
CMake-effbdf8d8f0d32cff11212588ec0fd4e73d7af0c.tar.bz2
ENH: remove deps to vtkString by using KWSys (a handful of functions have been moved to KWSys)
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/SystemTools.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index 5abac99..62401a0 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -937,18 +937,18 @@ char* SystemTools::ReplaceChars(char* str, const char *toreplace, char replaceme
}
// Returns if string starts with another string
-bool vtkString::StringStartsWith(const char* str1, const char* str2)
+bool SystemTools::StringStartsWith(const char* str1, const char* str2)
{
if (!str1 || !str2)
{
return false;
}
size_t len1 = strlen(str1), len2 = strlen(str2);
- return len1 >= len2 && !strncmp(str1, str2, len2) ? true : false
+ return len1 >= len2 && !strncmp(str1, str2, len2) ? true : false;
}
// Returns if string ends with another string
-bool vtkString::StringEndsWith(const char* str1, const char* str2)
+bool SystemTools::StringEndsWith(const char* str1, const char* str2)
{
if (!str1 || !str2)
{