ERR: Renamed superclass typedef from SystemTools to Superclass to avoid conflict across platforms.

This commit is contained in:
Brad King 2003-06-24 10:16:28 -04:00
parent 51eb9596bc
commit 45e508f530
2 changed files with 4 additions and 4 deletions

View File

@ -240,7 +240,7 @@ void cmSystemTools::ReportLastSystemError(const char* msg)
{
std::string m = msg;
m += ": System Error: ";
m += SystemTools::GetLastSystemError();
m += Superclass::GetLastSystemError();
cmSystemTools::Error(m.c_str());
}
@ -602,7 +602,7 @@ bool cmSystemTools::DoesFileExistWithExtensions(
bool cmSystemTools::cmCopyFile(const char* source, const char* destination)
{
return SystemTools::CopyFileAlways(source, destination);
return Superclass::CopyFileAlways(source, destination);
}
void cmSystemTools::Glob(const char *directory, const char *regexp,
@ -870,7 +870,7 @@ cmSystemTools::FileFormat cmSystemTools::GetFileFormat(const char* cext)
bool cmSystemTools::Split(const char* s, std::vector<cmStdString>& l)
{
std::vector<std::string> temp;
if(!SystemTools::Split(s, temp))
if(!Superclass::Split(s, temp))
{
return false;
}

View File

@ -30,7 +30,7 @@
class cmSystemTools: public cmsys::SystemTools
{
public:
typedef cmsys::SystemTools SystemTools;
typedef cmsys::SystemTools Superclass;
/** Expand out any arguements in the vector that have ; separated
* strings into multiple arguements. A new vector is created