Skip to content

Commit 43f6a97

Browse files
committed
[gardening] Add "&" to eliminate warning.
1 parent 17f1cf9 commit 43f6a97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IRGen/GenReflection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ getRuntimeVersionThatSupportsDemanglingType(CanType type) {
181181
if (fn->isAsync() || fn->isSendable() || fn->hasGlobalActor())
182182
return true;
183183

184-
for (const auto param: fn->getParams()) {
184+
for (const auto &param : fn->getParams()) {
185185
if (param.isIsolated())
186186
return true;
187187
}

0 commit comments

Comments
 (0)