Skip to content

Commit ef98486

Browse files
XLS Teamcopybara-github
authored andcommitted
Automated Code Change
PiperOrigin-RevId: 875454978
1 parent a89edd7 commit ef98486

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xls/dslx/type_system/type_info_to_proto.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ absl::StatusOr<T> ToProto(const StructDefBase& struct_def,
302302
proto.set_identifier(struct_def.identifier());
303303
proto.set_is_public(struct_def.is_public());
304304
for (int64_t i = 0; i < struct_def.size(); ++i) {
305-
proto.add_member_names(ToProtoString(struct_def.GetMemberName(i)));
305+
proto.add_member_names(struct_def.GetMemberName(i));
306306
}
307307
return proto;
308308
}
@@ -338,7 +338,7 @@ absl::StatusOr<EnumDefProto> ToProto(const EnumDef& enum_def,
338338
proto.set_identifier(enum_def.identifier());
339339
proto.set_is_public(enum_def.is_public());
340340
for (int64_t i = 0; i < enum_def.values().size(); ++i) {
341-
proto.add_member_names(ToProtoString(enum_def.GetMemberName(i)));
341+
proto.add_member_names(enum_def.GetMemberName(i));
342342
}
343343
return proto;
344344
}

0 commit comments

Comments
 (0)