diff options
author | Muxi Yan <mxyan@google.com> | 2018-10-16 18:28:16 -0700 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2018-10-16 18:28:16 -0700 |
commit | ad5485ae4ef4ec31cb6b3ed54876fd9868343388 (patch) | |
tree | 24487565740e640256ae3bc5a7a27208379140e4 /src/objective-c/GRPCClient/private/GRPCChannelPool.m | |
parent | bc292b87c26ea8f6465443a152e86b3ed71e585b (diff) |
Make channel args immutable
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCChannelPool.m')
-rw-r--r-- | src/objective-c/GRPCClient/private/GRPCChannelPool.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCChannelPool.m b/src/objective-c/GRPCClient/private/GRPCChannelPool.m index 10a15f5255..11c9d4be8d 100644 --- a/src/objective-c/GRPCClient/private/GRPCChannelPool.m +++ b/src/objective-c/GRPCClient/private/GRPCChannelPool.m @@ -76,7 +76,7 @@ const NSTimeInterval kChannelDestroyDelay = 30; } } -- (NSMutableDictionary *)channelArgs { +- (NSDictionary *)channelArgs { NSMutableDictionary *args = [NSMutableDictionary new]; NSString *userAgent = @"grpc-objc/" GRPC_OBJC_VERSION_STRING; |