Automated Code Change

PiperOrigin-RevId: 669685461
pull/37575/head
Lev Kandel 3 months ago committed by Copybara-Service
parent db6dd6a6d5
commit 70b3562b82
  1. 4
      src/cpp/ext/proto_server_reflection.cc

@ -176,10 +176,10 @@ template <typename Response>
void ProtoServerReflectionBackend::FillFileDescriptorResponse(
const protobuf::FileDescriptor* file_desc, Response* response,
std::unordered_set<std::string>* seen_files) const {
if (seen_files->find(file_desc->name()) != seen_files->end()) {
bool inserted = seen_files->emplace(file_desc->name()).second;
if (!inserted) {
return;
}
seen_files->insert(file_desc->name());
protobuf::FileDescriptorProto file_desc_proto;
std::string data;

Loading…
Cancel
Save