From cbfd9d43c829c412fe53cf003c78f51c8a307240 Mon Sep 17 00:00:00 2001 From: Jisi Liu Date: Thu, 31 Mar 2016 14:47:24 -0700 Subject: Remove export macros for classes nested in a template class. --- src/google/protobuf/map.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/google/protobuf/map.h b/src/google/protobuf/map.h index 3ee4ea76..023ed971 100644 --- a/src/google/protobuf/map.h +++ b/src/google/protobuf/map.h @@ -663,7 +663,7 @@ class Map { // custom class here and for Node, below, to ensure that k_ is at offset 0, // allowing safe conversion from pointer to Node to pointer to Key, and vice // versa when appropriate. - class LIBPROTOBUF_EXPORT KeyValuePair { + class KeyValuePair { public: KeyValuePair(const Key& k, value_type* v) : k_(k), v_(v) {} @@ -708,7 +708,7 @@ class Map { // 8. Mutations to a map do not invalidate the map's iterators, pointers to // elements, or references to elements. // 9. Except for erase(iterator), any non-const method can reorder iterators. - class LIBPROTOBUF_EXPORT InnerMap : private hasher { + class InnerMap : private hasher { public: typedef value_type* Value; @@ -1340,7 +1340,7 @@ class Map { public: // Iterators - class LIBPROTOBUF_EXPORT iterator_base { + class iterator_base { public: // We support "old style" and "new style" iterators for now. This is // temporary. Also, for "iterator()" we have an unknown category. -- cgit v1.2.3