mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 15:18:26 -05:00
Remove unnecessary c_str() calls
Use the new IsOn(),IsOff() overloads.
This commit is contained in:
committed by
Brad King
parent
612975c665
commit
6f16be6a62
@@ -87,7 +87,7 @@ bool cmSetSourceFilesPropertiesCommand::RunCommand(
|
||||
propertyPairs.push_back(*j);
|
||||
if (*j == "GENERATED") {
|
||||
++j;
|
||||
if (j != propend && cmSystemTools::IsOn(j->c_str())) {
|
||||
if (j != propend && cmSystemTools::IsOn(*j)) {
|
||||
generated = true;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user