mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 03:29:18 -05:00
Meta: replace empty-string assignments with clear().
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user