diff options
author | Brad King <brad.king@kitware.com> | 2005-02-10 15:35:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-02-10 15:35:23 (GMT) |
commit | 3b008ea03b8d35d57837711943dda37dc3951181 (patch) | |
tree | ce9e865492ffe27787d56a1eceb125679926117d /Source | |
parent | 4bf8aa62933f9ceac89628101ec6190a794b3c79 (diff) | |
download | CMake-3b008ea03b8d35d57837711943dda37dc3951181.zip CMake-3b008ea03b8d35d57837711943dda37dc3951181.tar.gz CMake-3b008ea03b8d35d57837711943dda37dc3951181.tar.bz2 |
COMP: std:: -> kwsys_stl::
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index 84f207a..ecd6fe8 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -1635,7 +1635,7 @@ void SystemTools::SplitPath(const char* p, else if(c[0] && c[1] == ':' && c[2] == '/') { // Windows path. - std::string root = "_:/"; + kwsys_stl::string root = "_:/"; root[0] = c[0]; components.push_back(root); c += 3; @@ -1643,7 +1643,7 @@ void SystemTools::SplitPath(const char* p, else if(c[0] && c[1] == ':') { // Path relative to a windows drive working directory. - std::string root = "_:"; + kwsys_stl::string root = "_:"; root[0] = c[0]; components.push_back(root); c += 2; @@ -1662,7 +1662,7 @@ void SystemTools::SplitPath(const char* p, if(*last == '/') { // End of a component. Save it. - components.push_back(std::string(first, last-first)); + components.push_back(kwsys_stl::string(first, last-first)); first = last+1; } } @@ -1670,7 +1670,7 @@ void SystemTools::SplitPath(const char* p, // Save the last component unless there were no components. if(last != c) { - components.push_back(std::string(first, last-first)); + components.push_back(kwsys_stl::string(first, last-first)); } } |