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