Meta: replace empty-string assignments with clear().

This commit is contained in:
Pavel Solodovnikov
2017-09-16 02:26:49 +03:00
parent c0c5f924fe
commit 5db3aac111
70 changed files with 214 additions and 214 deletions

View File

@@ -73,11 +73,11 @@ bool cmProcessTools::LineParser::ProcessChunk(const char* first, int length)
// Hand this line to the subclass implementation.
if (!this->ProcessLine()) {
this->Line = "";
this->Line.clear();
return false;
}
this->Line = "";
this->Line.clear();
} else if (*c != '\r' || !this->IgnoreCR) {
// Append this character to the line under construction.
this->Line.append(1, *c);