Skip to content

Commit

Permalink
Add an objc_class_prefix for the proto2 syntax file used in conforman…
Browse files Browse the repository at this point in the history
…ce tests.

Not all the types have "Proto2" on the end, so for uniformity put an
objc_class_prefix like was done for the proto3 syntax file.
  • Loading branch information
thomasvl committed Sep 24, 2022
1 parent 83b8f07 commit bf7c2bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions google/protobuf/test_messages_proto2.proto
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ syntax = "proto2";
package protobuf_test_messages.proto2;

option java_package = "com.google.protobuf_test_messages.proto2";
option objc_class_prefix = "Proto2";

// This is the default, but we specify it here explicitly.
option optimize_for = SPEED;
Expand Down

0 comments on commit bf7c2bb

Please sign in to comment.