Auto-generate files after cl/632314763
parent
d071c60878
commit
bc80135f10
|
@ -7305,12 +7305,12 @@ bool upb_MiniTable_SetSubMessage(upb_MiniTable* table,
|
|||
return false;
|
||||
}
|
||||
|
||||
upb_MiniTableSub* table_sub =
|
||||
(void*)&table->UPB_PRIVATE(subs)[field->UPB_PRIVATE(submsg_index)];
|
||||
int idx = field->UPB_PRIVATE(submsg_index);
|
||||
upb_MiniTableSub* table_subs = (void*)table->UPB_PRIVATE(subs);
|
||||
// TODO: Add this assert back once YouTube is updated to not call
|
||||
// this function repeatedly.
|
||||
// UPB_ASSERT(UPB_PRIVATE(_upb_MiniTable_IsEmpty)(table_sub->submsg));
|
||||
*table_sub = upb_MiniTableSub_FromMessage(sub);
|
||||
table_subs[idx] = upb_MiniTableSub_FromMessage(sub);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -6797,12 +6797,12 @@ bool upb_MiniTable_SetSubMessage(upb_MiniTable* table,
|
|||
return false;
|
||||
}
|
||||
|
||||
upb_MiniTableSub* table_sub =
|
||||
(void*)&table->UPB_PRIVATE(subs)[field->UPB_PRIVATE(submsg_index)];
|
||||
int idx = field->UPB_PRIVATE(submsg_index);
|
||||
upb_MiniTableSub* table_subs = (void*)table->UPB_PRIVATE(subs);
|
||||
// TODO: Add this assert back once YouTube is updated to not call
|
||||
// this function repeatedly.
|
||||
// UPB_ASSERT(UPB_PRIVATE(_upb_MiniTable_IsEmpty)(table_sub->submsg));
|
||||
*table_sub = upb_MiniTableSub_FromMessage(sub);
|
||||
table_subs[idx] = upb_MiniTableSub_FromMessage(sub);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue