aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Cozzette <acozzette@google.com>2017-01-20 15:39:34 -0800
committerNehal J Wani <nehaljw.kkd1@gmail.com>2018-08-15 19:42:13 +0530
commit33d41628c2d06f3d51764c08caaf7e9ecc305065 (patch)
tree3c036f9407b7464147091f67bd08f47657828531
parentf2a1356966cef3889434368598ac888d131489fb (diff)
downloadprotobuf-33d41628c2d06f3d51764c08caaf7e9ecc305065.tar.gz
protobuf-33d41628c2d06f3d51764c08caaf7e9ecc305065.tar.bz2
protobuf-33d41628c2d06f3d51764c08caaf7e9ecc305065.zip
Set LIBPROTOBUF_EXPORT on GzipOutputStream::Options
This fixes issue #2610. This was originally fixed in a101fa52895fc2ad83d8b5d610243531b1608a08 , but got reverted by d36c0c538a545fac5d9db6ba65c525246d4efa95
-rw-r--r--src/google/protobuf/io/gzip_stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/io/gzip_stream.h b/src/google/protobuf/io/gzip_stream.h
index 15b02fe3..df1a446e 100644
--- a/src/google/protobuf/io/gzip_stream.h
+++ b/src/google/protobuf/io/gzip_stream.h
@@ -118,7 +118,7 @@ class LIBPROTOBUF_EXPORT GzipOutputStream : public ZeroCopyOutputStream {
ZLIB = 2,
};
- struct Options {
+ struct LIBPROTOBUF_EXPORT Options {
// Defaults to GZIP.
Format format;