|
|
|
@ -67,14 +67,14 @@ void WriteExtensionIdentifier(const protobuf::FieldDescriptor* ext, |
|
|
|
|
if (ext->extension_scope()) { |
|
|
|
|
output( |
|
|
|
|
R"cc( |
|
|
|
|
const ::protos::internal::ExtensionIdentifier<$0, $3> $4::$2(&$1); |
|
|
|
|
const hpb::internal::ExtensionIdentifier<$0, $3> $4::$2(&$1); |
|
|
|
|
)cc", |
|
|
|
|
ContainingTypeName(ext), mini_table_name, ext->name(), |
|
|
|
|
CppTypeParameterName(ext), ClassName(ext->extension_scope())); |
|
|
|
|
} else { |
|
|
|
|
output( |
|
|
|
|
R"cc( |
|
|
|
|
const ::protos::internal::ExtensionIdentifier<$0, $3> $2(&$1); |
|
|
|
|
const hpb::internal::ExtensionIdentifier<$0, $3> $2(&$1); |
|
|
|
|
)cc", |
|
|
|
|
ContainingTypeName(ext), mini_table_name, ext->name(), |
|
|
|
|
CppTypeParameterName(ext)); |
|
|
|
|