cmValue: Use operator* explicitly to convert to std::string; avoid extra call

This commit is contained in:
Vitaly Stakhovsky
2023-01-15 10:13:14 -05:00
parent 701badbd20
commit b3edfcf46e
26 changed files with 104 additions and 99 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ void cmLocalXCodeGenerator::AddXCConfigSources(cmGeneratorTarget* target)
for (auto& config : configs) {
auto file = cmGeneratorExpression::Evaluate(
xcconfig,
*xcconfig,
this, config);
if (!file.empty()) {
target->AddSource(file);