diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2015-08-14 13:38:34 -0700 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2015-08-14 13:38:34 -0700 |
commit | fa2fe35decc21ff375793138034d775d4ba30305 (patch) | |
tree | 0ce663db23015a884f6c59d1a96d2e08082bb408 /src | |
parent | 143688f68bc179f57a8bc97158604ae4248c1730 (diff) | |
download | protobuf-fa2fe35decc21ff375793138034d775d4ba30305.tar.gz protobuf-fa2fe35decc21ff375793138034d775d4ba30305.tar.bz2 protobuf-fa2fe35decc21ff375793138034d775d4ba30305.zip |
fix type initialization problem with FileDescriptor
Diffstat (limited to 'src')
-rw-r--r-- | src/google/protobuf/compiler/csharp/csharp_field_base.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/compiler/csharp/csharp_field_base.cc b/src/google/protobuf/compiler/csharp/csharp_field_base.cc index cd29bcf9..5df43d3f 100644 --- a/src/google/protobuf/compiler/csharp/csharp_field_base.cc +++ b/src/google/protobuf/compiler/csharp/csharp_field_base.cc @@ -67,7 +67,7 @@ void FieldGeneratorBase::SetCommonFieldVariables( tag_bytes += ", " + SimpleItoa(tag_array[i]); } - (*variables)["access_level"] = class_access_level(); + (*variables)["access_level"] = "public"; (*variables)["tag"] = SimpleItoa(tag); (*variables)["tag_size"] = SimpleItoa(tag_size); (*variables)["tag_bytes"] = tag_bytes; |