Remove unnecessary c_str() calls

Use the new IsOn(),IsOff() overloads.
This commit is contained in:
Vitaly Stakhovsky
2018-08-31 19:01:22 -04:00
committed by Brad King
parent 612975c665
commit 6f16be6a62
24 changed files with 40 additions and 43 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ void cmIncludeDirectoryCommand::NormalizeInclude(std::string& inc)
return;
}
if (!cmSystemTools::IsOff(inc.c_str())) {
if (!cmSystemTools::IsOff(inc)) {
cmSystemTools::ConvertToUnixSlashes(inc);
if (!cmSystemTools::FileIsFullPath(inc)) {