Explorar o código

Fix to csharp_options - initialize internal_access to false.

Jon Skeet %!s(int64=9) %!d(string=hai) anos
pai
achega
0a902ee0ac
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/google/protobuf/compiler/csharp/csharp_options.h

+ 2 - 1
src/google/protobuf/compiler/csharp/csharp_options.h

@@ -44,7 +44,8 @@ struct Options {
   Options() :
       file_extension(".cs"),
       base_namespace(""),
-      base_namespace_specified(false) {
+      base_namespace_specified(false),
+      internal_access(false) {
   }
   // Extension of the generated file. Defaults to ".cs"
   string file_extension;