瀏覽代碼

Export class Arena to shared library.

This got broken in commit 6ef984af4b0c63c1c33127a12dcfc8e6359f0c9e
which integrated changes from internal branch.
Adam Michalik 9 年之前
父節點
當前提交
810ba9b8f2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/google/protobuf/arena.h

+ 1 - 1
src/google/protobuf/arena.h

@@ -213,7 +213,7 @@ struct ArenaOptions {
 // well as RepeatedPtrField.
 
 #if __cplusplus >= 201103L
-class Arena final {
+class LIBPROTOBUF_EXPORT Arena final {
 #else
 class LIBPROTOBUF_EXPORT Arena {
 #endif