summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemTools.hxx.in
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-08 12:17:59 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-08 12:17:59 (GMT)
commit30daaa6a3e5e4bdfb1a3dae8a23dcf5f76197669 (patch)
tree1da9af8667219fef4e9776c9e13a63b9e0b10592 /Source/kwsys/SystemTools.hxx.in
parentfba72969da714d7bb23f18d86481cc00d1c0570e (diff)
downloadCMake-30daaa6a3e5e4bdfb1a3dae8a23dcf5f76197669.zip
CMake-30daaa6a3e5e4bdfb1a3dae8a23dcf5f76197669.tar.gz
CMake-30daaa6a3e5e4bdfb1a3dae8a23dcf5f76197669.tar.bz2
COMP: Fix problem with STL on HP, and fix reusing the same variable in for loops
Diffstat (limited to 'Source/kwsys/SystemTools.hxx.in')
-rw-r--r--Source/kwsys/SystemTools.hxx.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/kwsys/SystemTools.hxx.in b/Source/kwsys/SystemTools.hxx.in
index 31bfa9a..6eade40 100644
--- a/Source/kwsys/SystemTools.hxx.in
+++ b/Source/kwsys/SystemTools.hxx.in
@@ -182,8 +182,8 @@ 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 char* s, char separator = '/',
- bool isPath = false);
+ static kwsys_stl::vector<String> SplitString(const char* s, char separator = '/',
+ bool isPath = false);
/**
* Perform a case-independent string comparison
*/
@@ -590,7 +590,7 @@ public:
/a/b/c/d to /a/b/c1/d1 -> ../../c1/d1
from /usr/src to /usr/src/test/blah/foo.cpp -> test/blah/foo.cpp
*/
- static std::string RelativePath(const char* local, const char* remote);
+ static kwsys_stl::string RelativePath(const char* local, const char* remote);
/**
* Return file's modified time