Skip to content

Commit

Permalink
Added missing namespace annotation on protobuf-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
EduMenges committed Aug 9, 2024
1 parent 971d797 commit 5653994
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion protobuf-plugin/c_typedef.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Generator : public compiler::CodeGenerator {
return "TW" + proto_file.substr(0, index) + "Proto.h";
}

bool Generate(const FileDescriptor* file, const std::string& parameter, compiler::GeneratorContext* generator_context, string* error) const {
bool Generate(const FileDescriptor* file, const std::string& parameter, compiler::GeneratorContext* generator_context, std::string* error) const {
std::unique_ptr<io::ZeroCopyOutputStream> output(generator_context->Open(GetOutputFilename(file->name())));
io::Printer printer(output.get(), '$');

Expand Down
2 changes: 1 addition & 1 deletion protobuf-plugin/swift_typealias.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Generator : public compiler::CodeGenerator {
return proto_file.substr(0, index) + "+Proto.swift";
}

bool Generate(const FileDescriptor* file, const std::string& parameter, compiler::GeneratorContext* generator_context, string* error) const {
bool Generate(const FileDescriptor* file, const std::string& parameter, compiler::GeneratorContext* generator_context, std::string* error) const {
std::unique_ptr<io::ZeroCopyOutputStream> output(generator_context->Open(GetOutputFilename(file->name())));
io::Printer printer(output.get(), '$');

Expand Down

0 comments on commit 5653994

Please sign in to comment.