|
|
@ -108,8 +108,8 @@ class PROTOBUF_EXPORT DynamicMessageFactory : public MessageFactory { |
|
|
|
// prototype, so these must be destroyed before the DynamicMessageFactory
|
|
|
|
// prototype, so these must be destroyed before the DynamicMessageFactory
|
|
|
|
// is destroyed.
|
|
|
|
// is destroyed.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// The given descriptor must outlive the returned message, and hence must
|
|
|
|
// The given descriptor must be non-null and outlive the returned message, and
|
|
|
|
// outlive the DynamicMessageFactory.
|
|
|
|
// hence must outlive the DynamicMessageFactory.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// The method is thread-safe.
|
|
|
|
// The method is thread-safe.
|
|
|
|
const Message* GetPrototype(const Descriptor* type) override; |
|
|
|
const Message* GetPrototype(const Descriptor* type) override; |
|
|
|