diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-02-07 15:43:45 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-02-07 15:43:45 (GMT) |
commit | 9740913dd8e131474c0842aa0f155f953d14e161 (patch) | |
tree | a69caea408415745686d4dcceadd910e513dee5c /Source/kwsys | |
parent | e5a8e115bc26e6a7f6b25dc2450e9bb28fca6fa1 (diff) | |
download | CMake-9740913dd8e131474c0842aa0f155f953d14e161.zip CMake-9740913dd8e131474c0842aa0f155f953d14e161.tar.gz CMake-9740913dd8e131474c0842aa0f155f953d14e161.tar.bz2 |
COMP: Fix build problem
Diffstat (limited to 'Source/kwsys')
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index 5da7606..2c469ed 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -2475,7 +2475,7 @@ std::string SystemTools::RelativePath(const char* local, const char* remote) } // for each entry that is not common in the remote path add it // to the final path. - for(std::vector<kwsys_stl::string>::iterator i = remoteSplit.begin(); + for(std::vector<String>::iterator i = remoteSplit.begin(); i != remoteSplit.end(); ++i) { if(i->size()) @@ -2486,7 +2486,7 @@ std::string SystemTools::RelativePath(const char* local, const char* remote) std::string relativePath; // result string // now turn the array of directories into a unix path by puttint / // between each entry that does not already have one - for(std::vector<kwsys_stl::string>::iterator i = finalPath.begin(); + for(std::vector<String>::iterator i = finalPath.begin(); i != finalPath.end(); ++i) { if(relativePath.size() && relativePath[relativePath.size()-1] != '/') |