Fix non existent std::string::clear on VS6
This commit is contained in:
parent
02ccb3291b
commit
9002f73f31
|
@ -786,7 +786,7 @@ int cmDocumentation::getDocumentedModulesListInDir(
|
||||||
// No else if no section is found (undocumented module)
|
// No else if no section is found (undocumented module)
|
||||||
}
|
}
|
||||||
// No else cannot read first line (ignore this kind of error)
|
// No else cannot read first line (ignore this kind of error)
|
||||||
line.clear();
|
line = "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (nbDocumentedModules>0)
|
if (nbDocumentedModules>0)
|
||||||
|
@ -887,7 +887,7 @@ int cmDocumentation::GetStructuredDocFromFile(
|
||||||
docCtxIdx++;
|
docCtxIdx++;
|
||||||
docContextStack[docCtxIdx]=SDOC_SECTION;
|
docContextStack[docCtxIdx]=SDOC_SECTION;
|
||||||
/* drop the rest of the line */
|
/* drop the rest of the line */
|
||||||
line.clear();
|
line = "";
|
||||||
newCtx = true;
|
newCtx = true;
|
||||||
}
|
}
|
||||||
else if (mkword.substr(0,3)=="end")
|
else if (mkword.substr(0,3)=="end")
|
||||||
|
|
Loading…
Reference in New Issue