We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43a2141 commit 4c3aa34Copy full SHA for 4c3aa34
stdlib/public/SwiftRemoteMirror/SwiftRemoteMirror.cpp
@@ -175,7 +175,7 @@ static swift_typeinfo_t convertTypeInfo(const TypeInfo *TI) {
175
176
static swift_childinfo_t convertChild(const TypeInfo *TI, unsigned Index) {
177
auto *RecordTI = cast<RecordTypeInfo>(TI);
178
- auto FieldInfo = RecordTI->getFields()[Index];
+ auto &FieldInfo = RecordTI->getFields()[Index];
179
180
return {
181
FieldInfo.Name.c_str(),
0 commit comments