diff options
author | Brad King <brad.king@kitware.com> | 2009-04-22 13:11:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-04-22 13:11:06 (GMT) |
commit | efe07c4e0a76868657d617a47cc03797e0a3a93e (patch) | |
tree | d694aa914f7ea576f4221e38cedd6fc02bb45d0a /Source/cmSystemTools.cxx | |
parent | b1005a0e5e93f19233e76c52317693bfad53e3a6 (diff) | |
download | CMake-efe07c4e0a76868657d617a47cc03797e0a3a93e.zip CMake-efe07c4e0a76868657d617a47cc03797e0a3a93e.tar.gz CMake-efe07c4e0a76868657d617a47cc03797e0a3a93e.tar.bz2 |
COMP: Fix calls to superclass methods for Borland
The superclass of cmSystemTools is cmsys::SystemTools, which should be
referencable by just SystemTools from inside the class. Borland C++
does not seem to support this, so we use cmSystemTools instead.
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 23da1e3..959d32c 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -1101,14 +1101,14 @@ std::string cmSystemTools::FileExistsInParentDirectories(const char* fname, const char* directory, const char* toplevel) { std::string file = fname; - SystemTools::ConvertToUnixSlashes(file); + cmSystemTools::ConvertToUnixSlashes(file); std::string dir = directory; - SystemTools::ConvertToUnixSlashes(dir); + cmSystemTools::ConvertToUnixSlashes(dir); std::string prevDir; while(dir != prevDir) { std::string path = dir + "/" + file; - if ( SystemTools::FileExists(path.c_str()) ) + if ( cmSystemTools::FileExists(path.c_str()) ) { return path; } @@ -1117,7 +1117,7 @@ std::string cmSystemTools::FileExistsInParentDirectories(const char* fname, break; } prevDir = dir; - dir = SystemTools::GetParentDirectory(dir.c_str()); + dir = cmSystemTools::GetParentDirectory(dir.c_str()); } return ""; } |