Remove use of cmsys_stl.

It is not needed.
This commit is contained in:
Stephen Kelly
2015-01-29 23:19:40 +01:00
parent 098160d5f2
commit 421eadb45b
10 changed files with 22 additions and 22 deletions
+4 -4
View File
@@ -26,7 +26,7 @@
int main(int argc, char* argv[])
{
//if ( cmsys::SystemTools::FileExists(
cmsys_stl::string cwd = cmsys::SystemTools::GetCurrentWorkingDirectory();
std::string cwd = cmsys::SystemTools::GetCurrentWorkingDirectory();
cmsys::ofstream ofs("/tmp/output.txt");
CFStringRef fileName;
@@ -66,7 +66,7 @@ int main(int argc, char* argv[])
//dispose of the CF variable
CFRelease(scriptFileURL);
cmsys_stl::string fullScriptPath = reinterpret_cast<char*>(path);
std::string fullScriptPath = reinterpret_cast<char*>(path);
delete [] path;
@@ -75,10 +75,10 @@ int main(int argc, char* argv[])
return 1;
}
cmsys_stl::string scriptDirectory = cmsys::SystemTools::GetFilenamePath(
std::string scriptDirectory = cmsys::SystemTools::GetFilenamePath(
fullScriptPath);
ofs << fullScriptPath.c_str() << cmsys_ios::endl;
cmsys_stl::vector<const char*> args;
std::vector<const char*> args;
args.push_back(fullScriptPath.c_str());
int cc;
for ( cc = 1; cc < argc; ++ cc )