Explorar o código

Merge pull request #2421 from tsondergaard/3.1.x

Export fixed_address_empty_string
Adam Cozzette %!s(int64=8) %!d(string=hai) anos
pai
achega
9f69353562
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/google/protobuf/generated_message_util.h

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

@@ -111,7 +111,7 @@ class ExplicitlyConstructed {
 
 // Default empty string object. Don't use this directly. Instead, call
 // GetEmptyString() to get the reference.
-extern ExplicitlyConstructed< ::std::string> fixed_address_empty_string;
+LIBPROTOBUF_EXPORT extern ExplicitlyConstructed< ::std::string> fixed_address_empty_string;
 LIBPROTOBUF_EXPORT extern ProtobufOnceType empty_string_once_init_;
 LIBPROTOBUF_EXPORT void InitEmptyString();