diff options
author | Joshua Haberman <joshua@reverberate.org> | 2011-02-22 11:31:32 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2011-02-22 11:31:32 -0800 |
commit | 6b574175dd43735a26f171de6b34c3f15bb50f12 (patch) | |
tree | 65c221be25cefb9d54c78e12e0ff641346bd272b /benchmarks/google_messages.proto | |
parent | fd184f0df2e5e428873eadfaf1ae829d2e4d8e51 (diff) |
Prevent the default message from getting mutated.
If a Lua program references the default message, it will
be copied into a mutable object.
Diffstat (limited to 'benchmarks/google_messages.proto')
-rw-r--r-- | benchmarks/google_messages.proto | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/google_messages.proto b/benchmarks/google_messages.proto index 17cace7..b43e94b 100644 --- a/benchmarks/google_messages.proto +++ b/benchmarks/google_messages.proto @@ -51,7 +51,7 @@ message SpeedMessage1SubMessage { optional int32 field1 = 1 [default=0]; optional int32 field2 = 2 [default=0]; optional int32 field3 = 3 [default=0]; - optional string field15 = 15; + optional string field15 = 15 [default="FOOBAR!"]; optional bool field12 = 12 [default=true]; optional int64 field13 = 13; optional int64 field14 = 14; |