@@ -45,7 +45,7 @@ namespace internal {
4545
4646// Register all MapEntry default instances so we can delete them in
4747// ShutdownProtobufLibrary().
48- void RegisterMapEntryDefaultInstance (MessageLite* default_instance);
48+ void LIBPROTOBUF_EXPORT RegisterMapEntryDefaultInstance (MessageLite* default_instance);
4949
5050// This is the common base class for MapEntry. It is used by MapFieldBase in
5151// reflection api, in which the static type of key and value is unknown.
@@ -84,7 +84,7 @@ class LIBPROTOBUF_EXPORT MapEntryBase : public Message {
8484// Moreover, default_enum_value is used to initialize enum field in proto2.
8585template <typename Key, typename Value, FieldDescriptor::Type KeyProtoType,
8686 FieldDescriptor::Type ValueProtoType, int default_enum_value>
87- class LIBPROTOBUF_EXPORT MapEntry : public MapEntryBase {
87+ class MapEntry : public MapEntryBase {
8888 // Handlers for key/value's proto field type. Used to infer internal layout
8989 // and provide parsing/serialization support.
9090 typedef MapProtoTypeHandler<KeyProtoType> KeyProtoHandler;
@@ -363,7 +363,7 @@ class LIBPROTOBUF_EXPORT MapEntry : public MapEntryBase {
363363 template <typename KeyNested, typename ValueNested,
364364 FieldDescriptor::Type KeyProtoNested,
365365 FieldDescriptor::Type ValueProtoNested, int default_enum>
366- class LIBPROTOBUF_EXPORT MapEntryWrapper
366+ class MapEntryWrapper
367367 : public MapEntry<KeyNested, ValueNested, KeyProtoNested,
368368 ValueProtoNested, default_enum> {
369369 typedef MapEntry<KeyNested, ValueNested, KeyProtoNested, ValueProtoNested,
@@ -394,7 +394,7 @@ class LIBPROTOBUF_EXPORT MapEntry : public MapEntryBase {
394394 template <typename KeyNested, typename ValueNested,
395395 FieldDescriptor::Type KeyProtoNested,
396396 FieldDescriptor::Type ValueProtoNested, int default_enum>
397- class LIBPROTOBUF_EXPORT MapEnumEntryWrapper
397+ class MapEnumEntryWrapper
398398 : public MapEntry<KeyNested, ValueNested, KeyProtoNested,
399399 ValueProtoNested, default_enum> {
400400 typedef MapEntry<KeyNested, ValueNested, KeyProtoNested, ValueProtoNested,
@@ -433,7 +433,7 @@ class LIBPROTOBUF_EXPORT MapEntry : public MapEntryBase {
433433 template <typename K, typename V,
434434 FieldDescriptor::Type KType,
435435 FieldDescriptor::Type VType, int default_enum>
436- friend class LIBPROTOBUF_EXPORT internal::MapField;
436+ friend class internal ::MapField;
437437 friend class LIBPROTOBUF_EXPORT internal::GeneratedMessageReflection;
438438
439439 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (MapEntry);
0 commit comments