Browse Source

Fix to csharp_options - initialize internal_access to false.

Jon Skeet 9 năm trước cách đây
mục cha
commit
0a902ee0ac
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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;