|
|
@ -592,8 +592,7 @@ void FileGenerator::GenerateBuildDescriptors(io::Printer* printer) { |
|
|
|
" }\n" |
|
|
|
" }\n" |
|
|
|
"} static_descriptor_initializer_$filename$_;\n", |
|
|
|
"} static_descriptor_initializer_$filename$_;\n", |
|
|
|
// Without.
|
|
|
|
// Without.
|
|
|
|
"::google::protobuf::GoogleOnceType $adddescriptorsname$_once_ =\n" |
|
|
|
"GOOGLE_PROTOBUF_DECLARE_ONCE($adddescriptorsname$_once_);\n" |
|
|
|
" GOOGLE_PROTOBUF_ONCE_INIT;\n" |
|
|
|
|
|
|
|
"void $adddescriptorsname$() {\n" |
|
|
|
"void $adddescriptorsname$() {\n" |
|
|
|
" ::google::protobuf::GoogleOnceInit(&$adddescriptorsname$_once_,\n" |
|
|
|
" ::google::protobuf::GoogleOnceInit(&$adddescriptorsname$_once_,\n" |
|
|
|
" &$adddescriptorsname$_impl);\n" |
|
|
|
" &$adddescriptorsname$_impl);\n" |
|
|
|