| 73 | } |
| 74 | |
| 75 | absl::Status DescriptorPoolBuilder::AddTransitiveDescriptorSet( |
| 76 | const google::protobuf::Descriptor* absl_nonnull desc) { |
| 77 | absl::flat_hash_set<const google::protobuf::FileDescriptor*> resolved; |
| 78 | std::vector<const google::protobuf::FileDescriptor*> to_resolve{desc->file()}; |
| 79 | return FindDeps(to_resolve, resolved, *this); |
| 80 | } |
| 81 | |
| 82 | absl::Status DescriptorPoolBuilder::AddTransitiveDescriptorSet( |
| 83 | absl::Span<const google::protobuf::Descriptor* absl_nonnull> descs) { |