aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-08-14 13:38:34 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-08-14 13:38:34 -0700
commitfa2fe35decc21ff375793138034d775d4ba30305 (patch)
tree0ce663db23015a884f6c59d1a96d2e08082bb408 /src
parent143688f68bc179f57a8bc97158604ae4248c1730 (diff)
fix type initialization problem with FileDescriptor
Diffstat (limited to 'src')
-rw-r--r--src/google/protobuf/compiler/csharp/csharp_field_base.cc2
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;