Skip to content

Commit 9a6012e

Browse files
committed
fix build issue on Linux
Can't use the brace initialization due to the constructor being explicit on that platform.
1 parent c1d3cd9 commit 9a6012e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/SILOptimizer/Mandatory/FlowIsolation.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -385,21 +385,21 @@ describe(SILInstruction *blame) {
385385

386386
// if we have no callee info, all we know is it's a call involving self.
387387
if (!callee)
388-
return {"a call involving", "", ctx.Id_self};
388+
return std::make_tuple("a call involving", "", ctx.Id_self);
389389

390-
return {
390+
return std::make_tuple(
391391
verbForInvoking(callee),
392392
callee->getDescriptiveKindName(callee->getDescriptiveKind()),
393393
callee->getName()
394-
};
394+
);
395395
}
396396

397397
// handle non-call blames
398398
switch (blame->getKind()) {
399399
case SILInstructionKind::CopyValueInst:
400-
return {"making a copy of", "", ctx.Id_self};
400+
return std::make_tuple("making a copy of", "", ctx.Id_self);
401401
default:
402-
return {"this use of", "", ctx.Id_self};
402+
return std::make_tuple("this use of", "", ctx.Id_self);
403403
}
404404
}
405405

0 commit comments

Comments
 (0)