Sfoglia il codice sorgente

Export class Arena to shared library.

This got broken in commit 6ef984af4b0c63c1c33127a12dcfc8e6359f0c9e
which integrated changes from internal branch.
Adam Michalik 9 anni fa
parent
commit
810ba9b8f2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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