mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 15:18:26 -05:00
Remove redundant c_str() calls.
Run clang-tidy's readability-redundant-string-cstr checker. Ignore findings in kwsys.
This commit is contained in:
@@ -68,7 +68,7 @@ void cmCTestGenericHandler::Initialize()
|
||||
t_StringToString::iterator it;
|
||||
for (it = this->PersistentOptions.begin();
|
||||
it != this->PersistentOptions.end(); ++it) {
|
||||
this->Options[it->first] = it->second.c_str();
|
||||
this->Options[it->first] = it->second;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user