Fix warning in GRPCCall.h

GRPCCall.h:185:1:
warning: no 'assign', 'retain', or 'copy' attribute is specified -
'assign' is assumed [-Wobjc-property-no-attribute]
@property (atomic, readwrite) NSString *serverName;
^
pull/11893/head
Marek Gilbert 7 years ago
parent 66cedf645d
commit e30a87d69d
  1. 2
      src/objective-c/GRPCClient/GRPCCall.h

@ -167,7 +167,7 @@ extern id const kGRPCTrailersKey;
* The authority for the RPC. If nil, the default authority will be used. This property must be nil
* when Cronet transport is enabled.
*/
@property (atomic, readwrite) NSString *serverName;
@property (atomic, copy, readwrite) NSString *serverName;
/**
* The container of the request headers of an RPC conforms to this protocol, which is a subset of

Loading…
Cancel
Save