aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Adam Cozzette <acozzette@google.com>2017-01-20 15:39:34 -0800
committerGravatar Nehal J Wani <nehaljw.kkd1@gmail.com>2018-07-01 14:50:37 -0500
commit1141bd954271f81cd4eecf17f6d7671fca19de11 (patch)
tree67128d8251e646c32422336286e1f13931054ef6
parentda2a6f68dbe006d5b4af03f8560de1c0a0b427e2 (diff)
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;