diff --git a/hpb_generator/gen_extensions.cc b/hpb_generator/gen_extensions.cc index 00a8dcd496..de241c95ac 100644 --- a/hpb_generator/gen_extensions.cc +++ b/hpb_generator/gen_extensions.cc @@ -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)); diff --git a/protos/protos.h b/protos/protos.h index 0d35d05770..2879ae7e99 100644 --- a/protos/protos.h +++ b/protos/protos.h @@ -9,7 +9,6 @@ #include "google/protobuf/hpb/hpb.h" namespace protos { namespace internal { -using hpb::internal::ExtensionIdentifier; using hpb::internal::GetInternalMsg; using hpb::internal::PrivateAccess; using hpb::internal::Serialize;