aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJisi Liu <jisi.liu@gmail.com>2016-03-31 14:47:24 -0700
committerJisi Liu <jisi.liu@gmail.com>2016-03-31 14:47:24 -0700
commitcbfd9d43c829c412fe53cf003c78f51c8a307240 (patch)
tree4dd9a374062c23c96aa44934938c799bdfee253e
parent5805c2dfb78a3cb38d297d3f102649cc1b7a6310 (diff)
downloadprotobuf-cbfd9d43c829c412fe53cf003c78f51c8a307240.tar.gz
protobuf-cbfd9d43c829c412fe53cf003c78f51c8a307240.tar.bz2
protobuf-cbfd9d43c829c412fe53cf003c78f51c8a307240.zip
Remove export macros for classes nested in a template class.
-rw-r--r--src/google/protobuf/map.h6
1 files 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.