diff options
author | Yilun Chong <chongyilun250@sina.com> | 2018-06-04 12:03:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-04 12:03:58 -0700 |
commit | a4d16ed886068c68dd84eeb2fc441a7435f515ab (patch) | |
tree | f068d353cffa048ea788b047301b36ccb2e3b930 /benchmarks/util/protoc-gen-gogoproto.cc | |
parent | a7252bf42df8f0841cf3a0c85fdbf1a5172adecb (diff) | |
parent | 61dac6d592fa3e384f77d914b67eb22c5d26104a (diff) | |
download | protobuf-a4d16ed886068c68dd84eeb2fc441a7435f515ab.tar.gz protobuf-a4d16ed886068c68dd84eeb2fc441a7435f515ab.tar.bz2 protobuf-a4d16ed886068c68dd84eeb2fc441a7435f515ab.zip |
Merge pull request #4699 from BSBandme/add_proto2_to_proto3_plugin
Add proto2 to proto3 util
Diffstat (limited to 'benchmarks/util/protoc-gen-gogoproto.cc')
-rw-r--r-- | benchmarks/util/protoc-gen-gogoproto.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks/util/protoc-gen-gogoproto.cc b/benchmarks/util/protoc-gen-gogoproto.cc index bfa6a5e5..9c1b3d04 100644 --- a/benchmarks/util/protoc-gen-gogoproto.cc +++ b/benchmarks/util/protoc-gen-gogoproto.cc @@ -12,7 +12,7 @@ using google::protobuf::FileDescriptor; using google::protobuf::DescriptorPool; using google::protobuf::io::Printer; using google::protobuf::util::SchemaGroupStripper; -using google::protobuf::util::SchemaAddZeroEnumValue; +using google::protobuf::util::EnumScrubber; namespace google { namespace protobuf { @@ -74,7 +74,7 @@ class GoGoProtoGenerator : public CodeGenerator { file->CopyTo(&new_file); SchemaGroupStripper::StripFile(file, &new_file); - SchemaAddZeroEnumValue enum_scrubber; + EnumScrubber enum_scrubber; enum_scrubber.ScrubFile(&new_file); string filename = file->name(); |