[ObjC] Remove override that is returning what the base returns.

PiperOrigin-RevId: 682405965
pull/18618/head
Thomas Van Lenten 2 months ago committed by Copybara-Service
parent 2d37fa821a
commit a270d56dcd
  1. 2
      src/google/protobuf/compiler/objectivec/generator.cc
  2. 1
      src/google/protobuf/compiler/objectivec/generator.h

@ -64,8 +64,6 @@ std::string NumberedObjCMFileName(absl::string_view basename, int number) {
} // namespace } // namespace
bool ObjectiveCGenerator::HasGenerateAll() const { return true; }
bool ObjectiveCGenerator::Generate(const FileDescriptor* file, bool ObjectiveCGenerator::Generate(const FileDescriptor* file,
const std::string& parameter, const std::string& parameter,
GeneratorContext* context, GeneratorContext* context,

@ -39,7 +39,6 @@ class PROTOC_EXPORT ObjectiveCGenerator : public CodeGenerator {
ObjectiveCGenerator& operator=(const ObjectiveCGenerator&) = delete; ObjectiveCGenerator& operator=(const ObjectiveCGenerator&) = delete;
// implements CodeGenerator ---------------------------------------- // implements CodeGenerator ----------------------------------------
bool HasGenerateAll() const override;
bool Generate(const FileDescriptor* file, const std::string& parameter, bool Generate(const FileDescriptor* file, const std::string& parameter,
GeneratorContext* context, std::string* error) const override; GeneratorContext* context, std::string* error) const override;
bool GenerateAll(const std::vector<const FileDescriptor*>& files, bool GenerateAll(const std::vector<const FileDescriptor*>& files,

Loading…
Cancel
Save