From bdc7792e4003c2737e4b3e5b670795d5f59f667a Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 17 May 2007 14:47:18 -0400 Subject: [PATCH] COMP: GCC 2.95 does not have std::string::clear() method. --- Source/cmMakefile.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 2d345df70..50270b4f9 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -458,7 +458,7 @@ bool cmMakefile::ReadListFile(const char* filename_in, this->ListFileStack.pop_back(); if(fullPath!=0) { - fullPath->clear(); + *fullPath = ""; } this->AddDefinition("CMAKE_PARENT_LIST_FILE", currentParentFile.c_str()); this->AddDefinition("CMAKE_CURRENT_LIST_FILE", currentFile.c_str());