diff options
author | Muxi Yan <muxi@users.noreply.github.com> | 2017-08-02 14:11:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-02 14:11:53 -0700 |
commit | 4f68ecf665433933b0ef1f0a3df12b1590646a90 (patch) | |
tree | 77cea1f81de947f286efb174b51ddefe3f79999a | |
parent | e1653dec3e360fd02cd15d87e9cf78f7cb02bfa5 (diff) | |
parent | e30a87d69db5b1188a1aaad0426681bc0f62aac9 (diff) |
Merge pull request #11893 from wilhuff/wilhuff/copy-servername
Fix warning in GRPCCall.h
-rw-r--r-- | src/objective-c/GRPCClient/GRPCCall.h | 2 |
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 |