Skip to content

Commit 7d8b40b

Browse files
committed
IRGen: Fix warning about unused capture
1 parent 377d22e commit 7d8b40b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IRGen/IRGenMangler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ IRGenMangler::withSymbolicReferences(IRGenModule &IGM,
9191
CanSymbolicReferenceLocally(CanSymbolicReference);
9292

9393
AllowSymbolicReferences = true;
94-
CanSymbolicReference = [&IGM](SymbolicReferent s) -> bool {
94+
CanSymbolicReference = [](SymbolicReferent s) -> bool {
9595
if (auto type = s.dyn_cast<const NominalTypeDecl *>()) {
9696
// The short-substitution types in the standard library have compact
9797
// manglings already, and the runtime ought to have a lookup table for

0 commit comments

Comments
 (0)