aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/GRPCCall.h
diff options
context:
space:
mode:
authorGravatar Marek Gilbert <mcg@google.com>2017-07-20 12:34:05 -0700
committerGravatar Marek Gilbert <mcg@google.com>2017-07-20 12:34:05 -0700
commite30a87d69db5b1188a1aaad0426681bc0f62aac9 (patch)
tree7b3a22b0d65f200f8fbc7a1d55d5e8886f3ddfe3 /src/objective-c/GRPCClient/GRPCCall.h
parent66cedf645dfdb1c195181d1cff289792a43854b6 (diff)
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; ^
Diffstat (limited to 'src/objective-c/GRPCClient/GRPCCall.h')
-rw-r--r--src/objective-c/GRPCClient/GRPCCall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/GRPCCall.h b/src/objective-c/GRPCClient/GRPCCall.h
index 178a446c8b..4d90cfd384 100644
--- a/src/objective-c/GRPCClient/GRPCCall.h
+++ b/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