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
@@ -85,7 +85,7 @@ std::string cmFindPathCommand::FindHeaderInFramework(std::string const& file,
// if the framework has a path in it then just use the filename
if (frameWorkName.find('/') != std::string::npos) {
fileName = file;
frameWorkName = "";
frameWorkName.clear();
}
if (!frameWorkName.empty()) {
std::string fpath = dir;