COMP: GCC 2.95 does not have std::string::clear() method.

This commit is contained in:
Brad King 2007-05-17 14:47:18 -04:00
parent 6f9575690a
commit bdc7792e40
1 changed files with 1 additions and 1 deletions

View File

@ -458,7 +458,7 @@ bool cmMakefile::ReadListFile(const char* filename_in,
this->ListFileStack.pop_back(); this->ListFileStack.pop_back();
if(fullPath!=0) if(fullPath!=0)
{ {
fullPath->clear(); *fullPath = "";
} }
this->AddDefinition("CMAKE_PARENT_LIST_FILE", currentParentFile.c_str()); this->AddDefinition("CMAKE_PARENT_LIST_FILE", currentParentFile.c_str());
this->AddDefinition("CMAKE_CURRENT_LIST_FILE", currentFile.c_str()); this->AddDefinition("CMAKE_CURRENT_LIST_FILE", currentFile.c_str());