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
+1 -1
View File
@@ -116,7 +116,7 @@ void cmIncludeDirectoryCommand::NormalizeInclude(std::string& inc)
if ((b != std::string::npos) && (e != std::string::npos)) {
inc.assign(inc, b, 1 + e - b); // copy the remaining substring
} else {
inc = "";
inc.clear();
return;
}