소스 검색

Fix to csharp_options - initialize internal_access to false.

Jon Skeet 9 년 전
부모
커밋
0a902ee0ac
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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;