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
+2 -2
View File
@@ -121,7 +121,7 @@ void cmLocalVisualStudio7Generator::FixGlobalTargets()
force_command.push_back(".");
cmCustomCommandLines force_commands;
force_commands.push_back(force_command);
std::string no_main_dependency = "";
std::string no_main_dependency;
std::string force = this->GetCurrentBinaryDirectory();
force += cmake::GetCMakeFilesDirectory();
force += "/";
@@ -2081,7 +2081,7 @@ public:
this->GUID = atts[i + 1];
this->GUID = this->GUID.substr(1, this->GUID.size() - 2);
} else {
this->GUID = "";
this->GUID.clear();
}
return;
}