File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -597,7 +597,7 @@ std::optional<Object> serializeTemplateMixinImpl(const RecordTy &Record,
597
597
598
598
Object Generics;
599
599
Array GenericParameters;
600
- for (const auto Param : Template.getParameters ()) {
600
+ for (const auto & Param : Template.getParameters ()) {
601
601
Object Parameter;
602
602
Parameter[" name" ] = Param.Name ;
603
603
Parameter[" index" ] = Param.Index ;
@@ -608,7 +608,7 @@ std::optional<Object> serializeTemplateMixinImpl(const RecordTy &Record,
608
608
Generics[" parameters" ] = std::move (GenericParameters);
609
609
610
610
Array GenericConstraints;
611
- for (const auto Constr : Template.getConstraints ()) {
611
+ for (const auto & Constr : Template.getConstraints ()) {
612
612
Object Constraint;
613
613
Constraint[" kind" ] = Constr.Kind ;
614
614
Constraint[" lhs" ] = Constr.LHS ;
You can’t perform that action at this time.
0 commit comments