diff options
author | Eric NOULARD <eric.noulard@gmail.com> | 2012-02-06 16:20:54 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2012-02-14 21:05:24 (GMT) |
commit | 9002f73f311893be20d8d986de8e5239ed2afce2 (patch) | |
tree | d312cddf43c1810433c6f5d0bcb1cbd830755ef0 /Source/cmDocumentation.cxx | |
parent | 02ccb3291bd1053df30600211b0ceefbb7fea00f (diff) | |
download | CMake-9002f73f311893be20d8d986de8e5239ed2afce2.zip CMake-9002f73f311893be20d8d986de8e5239ed2afce2.tar.gz CMake-9002f73f311893be20d8d986de8e5239ed2afce2.tar.bz2 |
Fix non existent std::string::clear on VS6
Diffstat (limited to 'Source/cmDocumentation.cxx')
-rw-r--r-- | Source/cmDocumentation.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx index dde4953..02f69f1 100644 --- a/Source/cmDocumentation.cxx +++ b/Source/cmDocumentation.cxx @@ -786,7 +786,7 @@ int cmDocumentation::getDocumentedModulesListInDir( // No else if no section is found (undocumented module) } // No else cannot read first line (ignore this kind of error) - line.clear(); + line = ""; } } if (nbDocumentedModules>0) @@ -887,7 +887,7 @@ int cmDocumentation::GetStructuredDocFromFile( docCtxIdx++; docContextStack[docCtxIdx]=SDOC_SECTION; /* drop the rest of the line */ - line.clear(); + line = ""; newCtx = true; } else if (mkword.substr(0,3)=="end") |