diff options
author | Muxi Yan <mxyan@google.com> | 2017-10-19 18:41:01 -0700 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2017-10-20 14:49:26 -0700 |
commit | 0c0ebc57e26ffc0579fda10cce65976d8ad06e0f (patch) | |
tree | 1be0bcf28b9e182573c4ffd19a5dc2f455e50585 /src/objective-c/GRPCClient/private/GRPCHost.m | |
parent | 4b8e4756426da3056fab06fd358ebc211cb7b8c6 (diff) |
Fix gRPC ObjC void function definition
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCHost.m')
-rw-r--r-- | src/objective-c/GRPCClient/private/GRPCHost.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCHost.m b/src/objective-c/GRPCClient/private/GRPCHost.m index f73e9cbc50..a0f4118740 100644 --- a/src/objective-c/GRPCClient/private/GRPCHost.m +++ b/src/objective-c/GRPCClient/private/GRPCHost.m @@ -93,7 +93,7 @@ static GRPCConnectivityMonitor *connectivityMonitor = nil; if (!connectivityMonitor) { connectivityMonitor = [GRPCConnectivityMonitor monitorWithHost:hostURL.host]; - void (^handler)() = ^{ + void (^handler)(void) = ^{ [GRPCHost flushChannelCache]; }; [connectivityMonitor handleLossWithHandler:handler |