aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/private/GRPCInsecureChannelFactory.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-16 18:28:16 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-16 18:28:16 -0700
commitad5485ae4ef4ec31cb6b3ed54876fd9868343388 (patch)
tree24487565740e640256ae3bc5a7a27208379140e4 /src/objective-c/GRPCClient/private/GRPCInsecureChannelFactory.m
parentbc292b87c26ea8f6465443a152e86b3ed71e585b (diff)
Make channel args immutable
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCInsecureChannelFactory.m')
-rw-r--r--src/objective-c/GRPCClient/private/GRPCInsecureChannelFactory.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCInsecureChannelFactory.m b/src/objective-c/GRPCClient/private/GRPCInsecureChannelFactory.m
index 41860bf6ff..d969b887b4 100644
--- a/src/objective-c/GRPCClient/private/GRPCInsecureChannelFactory.m
+++ b/src/objective-c/GRPCClient/private/GRPCInsecureChannelFactory.m
@@ -35,7 +35,7 @@ NS_ASSUME_NONNULL_BEGIN
}
- (nullable grpc_channel *)createChannelWithHost:(NSString *)host
- channelArgs:(nullable NSMutableDictionary *)args {
+ channelArgs:(nullable NSDictionary *)args {
grpc_channel_args *coreChannelArgs = BuildChannelArgs([args copy]);
grpc_channel *unmanagedChannel =
grpc_insecure_channel_create(host.UTF8String, coreChannelArgs, NULL);