mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 19:19:32 -05:00
strings: Remove redundant calls to std::string::c_str()
Replacements were detected and performed by the clang tool remove-cstr-calls on a linux build.
This commit is contained in:
@@ -352,7 +352,7 @@ void cmLocalNinjaGenerator::AppendCustomCommandDeps(
|
||||
i != deps.end(); ++i) {
|
||||
std::string dep;
|
||||
if (this->GetRealDependency(*i, this->GetConfigName(), dep))
|
||||
ninjaDeps.push_back(ConvertToNinjaPath(dep.c_str()));
|
||||
ninjaDeps.push_back(ConvertToNinjaPath(dep));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user