Selaa lähdekoodia

Merge pull request #1549 from xyzzyz/arena_export

Export class Arena to shared library.
Joshua Haberman 9 vuotta sitten
vanhempi
commit
431ba4b37d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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