diff options
author | Brad King <brad.king@kitware.com> | 2007-05-17 18:47:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-05-17 18:47:18 (GMT) |
commit | bdc7792e4003c2737e4b3e5b670795d5f59f667a (patch) | |
tree | c941120b6b2c811d536157e09221f254106587ec /Source/cmMakefile.cxx | |
parent | 6f9575690a50578174d86dcfbf557edb1056b3dd (diff) | |
download | CMake-bdc7792e4003c2737e4b3e5b670795d5f59f667a.zip CMake-bdc7792e4003c2737e4b3e5b670795d5f59f667a.tar.gz CMake-bdc7792e4003c2737e4b3e5b670795d5f59f667a.tar.bz2 |
COMP: GCC 2.95 does not have std::string::clear() method.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 2d345df..50270b4 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()); |