Procházet zdrojové kódy

ObjC: avoid assign for object properties (part 2)

Follow up on https://github.com/protocolbuffers/protobuf/pull/6221
Julien Poumailloux před 6 roky
rodič
revize
1c95097dd3
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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. */