Browse Source

COMP: std:: -> kwsys_stl::

Brad King 21 years ago
parent
commit
3b008ea03b
1 changed files with 4 additions and 4 deletions
  1. 4 4
      Source/kwsys/SystemTools.cxx

+ 4 - 4
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));
     }
 }