Explorar o código

ObjC: avoid assign for object properties (part 2)

Follow up on https://github.com/protocolbuffers/protobuf/pull/6221
Julien Poumailloux %!s(int64=6) %!d(string=hai) anos
pai
achega
1c95097dd3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      objectivec/GPBDescriptor.h

+ 1 - 1
objectivec/GPBDescriptor.h

@@ -305,7 +305,7 @@ typedef NS_ENUM(uint8_t, GPBFieldType) {
 /** Whether the extension is packable. */
 @property(nonatomic, readonly, getter=isPackable) BOOL packable;
 /** The class of the message if the extension is of message type. */
-@property(nonatomic, readonly, assign) Class msgClass;
+@property(nonatomic, readonly) Class msgClass;
 /** The singleton name for the extension. */
 @property(nonatomic, readonly) NSString *singletonName;
 /** The enum descriptor if the extension is of enum type. */