diff options
author | Peter Kasting <pkasting@google.com> | 2015-08-27 15:42:03 -0700 |
---|---|---|
committer | Peter Kasting <pkasting@google.com> | 2015-08-27 15:42:03 -0700 |
commit | 5d412c47d97fd753ec8ed560ddd276f65cf34de0 (patch) | |
tree | fefc8b825eae39f8a881e060651da3b8feae4e01 /src/google/protobuf/metadata.h | |
parent | 6e54999773a4b2c655dedc58f7ccfa69ab5beff4 (diff) |
Change to just not marking the class for export
Diffstat (limited to 'src/google/protobuf/metadata.h')
-rw-r--r-- | src/google/protobuf/metadata.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/google/protobuf/metadata.h b/src/google/protobuf/metadata.h index db647300..98c593da 100644 --- a/src/google/protobuf/metadata.h +++ b/src/google/protobuf/metadata.h @@ -56,10 +56,11 @@ namespace internal { // The tagged pointer uses the LSB to disambiguate cases, and uses bit 0 == 0 to // indicate an arena pointer and bit 0 == 1 to indicate a UFS+Arena-container // pointer. -class LIBPROTOBUF_EXPORT InternalMetadataWithArena { +class InternalMetadataWithArena { public: InternalMetadataWithArena() : ptr_(NULL) {} - explicit InternalMetadataWithArena(Arena* arena); + explicit InternalMetadataWithArena(Arena* arena) + : ptr_ (arena) {} ~InternalMetadataWithArena() { if (have_unknown_fields() && arena() == NULL) { |