Skip to content

Commit

Permalink
Fixed build errors on MacOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
haberman committed Apr 1, 2020
1 parent 2435589 commit 462b928
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/google/protobuf/compiler/cpp/cpp_generator.h
Expand Up @@ -81,7 +81,8 @@ class PROTOC_EXPORT CppGenerator : public CodeGenerator {

// implements CodeGenerator ----------------------------------------
bool Generate(const FileDescriptor* file, const std::string& parameter,
GeneratorContext* generator_context, std::string* error) const;
GeneratorContext* generator_context,
std::string* error) const override;

uint64 GetSupportedFeatures() const override {
// We don't fully support this yet, but this is needed to unblock the tests,
Expand Down
2 changes: 1 addition & 1 deletion src/google/protobuf/compiler/java/java_generator.h
Expand Up @@ -58,7 +58,7 @@ class PROTOC_EXPORT JavaGenerator : public CodeGenerator {

// implements CodeGenerator ----------------------------------------
bool Generate(const FileDescriptor* file, const std::string& parameter,
GeneratorContext* context, std::string* error) const;
GeneratorContext* context, std::string* error) const override;

uint64 GetSupportedFeatures() const override;

Expand Down

0 comments on commit 462b928

Please sign in to comment.