@@ -45,7 +45,7 @@ namespace internal {
45
45
46
46
// Register all MapEntry default instances so we can delete them in
47
47
// ShutdownProtobufLibrary().
48
- void RegisterMapEntryDefaultInstance (MessageLite* default_instance);
48
+ void LIBPROTOBUF_EXPORT RegisterMapEntryDefaultInstance (MessageLite* default_instance);
49
49
50
50
// This is the common base class for MapEntry. It is used by MapFieldBase in
51
51
// reflection api, in which the static type of key and value is unknown.
@@ -84,7 +84,7 @@ class LIBPROTOBUF_EXPORT MapEntryBase : public Message {
84
84
// Moreover, default_enum_value is used to initialize enum field in proto2.
85
85
template <typename Key, typename Value, FieldDescriptor::Type KeyProtoType,
86
86
FieldDescriptor::Type ValueProtoType, int default_enum_value>
87
- class LIBPROTOBUF_EXPORT MapEntry : public MapEntryBase {
87
+ class MapEntry : public MapEntryBase {
88
88
// Handlers for key/value's proto field type. Used to infer internal layout
89
89
// and provide parsing/serialization support.
90
90
typedef MapProtoTypeHandler<KeyProtoType> KeyProtoHandler;
@@ -363,7 +363,7 @@ class LIBPROTOBUF_EXPORT MapEntry : public MapEntryBase {
363
363
template <typename KeyNested, typename ValueNested,
364
364
FieldDescriptor::Type KeyProtoNested,
365
365
FieldDescriptor::Type ValueProtoNested, int default_enum>
366
- class LIBPROTOBUF_EXPORT MapEntryWrapper
366
+ class MapEntryWrapper
367
367
: public MapEntry<KeyNested, ValueNested, KeyProtoNested,
368
368
ValueProtoNested, default_enum> {
369
369
typedef MapEntry<KeyNested, ValueNested, KeyProtoNested, ValueProtoNested,
@@ -394,7 +394,7 @@ class LIBPROTOBUF_EXPORT MapEntry : public MapEntryBase {
394
394
template <typename KeyNested, typename ValueNested,
395
395
FieldDescriptor::Type KeyProtoNested,
396
396
FieldDescriptor::Type ValueProtoNested, int default_enum>
397
- class LIBPROTOBUF_EXPORT MapEnumEntryWrapper
397
+ class MapEnumEntryWrapper
398
398
: public MapEntry<KeyNested, ValueNested, KeyProtoNested,
399
399
ValueProtoNested, default_enum> {
400
400
typedef MapEntry<KeyNested, ValueNested, KeyProtoNested, ValueProtoNested,
@@ -433,7 +433,7 @@ class LIBPROTOBUF_EXPORT MapEntry : public MapEntryBase {
433
433
template <typename K, typename V,
434
434
FieldDescriptor::Type KType,
435
435
FieldDescriptor::Type VType, int default_enum>
436
- friend class LIBPROTOBUF_EXPORT internal::MapField;
436
+ friend class internal ::MapField;
437
437
friend class LIBPROTOBUF_EXPORT internal::GeneratedMessageReflection;
438
438
439
439
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (MapEntry);
0 commit comments