Refactor: reduce cmToCStr usage

This commit is contained in:
Marc Chevrier
2021-08-13 15:57:23 +02:00
parent 2984df9100
commit 5a2a275bb4
17 changed files with 62 additions and 69 deletions
+2 -3
View File
@@ -431,9 +431,8 @@ bool HandleVariableMode(cmExecutionStatus& status, const std::string& name,
return false;
}
return StoreResult(
infoType, status.GetMakefile(), variable,
cmToCStr(status.GetMakefile().GetDefinition(propertyName)));
return StoreResult(infoType, status.GetMakefile(), variable,
status.GetMakefile().GetDefinition(propertyName));
}
bool HandleCacheMode(cmExecutionStatus& status, const std::string& name,