Skip to content

Commit 5774e54

Browse files
committed
[Gardening] Silenced warning.
1 parent 7af8a35 commit 5774e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SIL/IR/SILInstructions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ static void buildTypeDependentOperands(
7575
bool hasDynamicSelf, SmallVectorImpl<SILValue> &TypeDependentOperands,
7676
SILFunction &F) {
7777

78-
for (const auto archetype : RootOpenedArchetypes) {
78+
for (const auto &archetype : RootOpenedArchetypes) {
7979
SILValue def = F.getModule().getRootOpenedArchetypeDef(archetype, &F);
8080
assert(def->getFunction() == &F &&
8181
"def of root opened archetype is in wrong function");

0 commit comments

Comments
 (0)