diff options
author | Muxi Yan <mxyan@google.com> | 2018-11-15 12:56:08 -0800 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2018-11-15 12:57:33 -0800 |
commit | 8a762d447813db1b1c3fe52b24e638581235460e (patch) | |
tree | e9645f76393e6b5b39bc1942513bc8849773917e /src/objective-c/GRPCClient/private/GRPCChannelPool.m | |
parent | 6b6ab2bdc9d03ffe85398451342a140320aac1dd (diff) |
Polish nullability + something else
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 6745010bd4..72554ca6dc 100644 --- a/src/objective-c/GRPCClient/private/GRPCChannelPool.m +++ b/src/objective-c/GRPCClient/private/GRPCChannelPool.m @@ -41,7 +41,7 @@ static dispatch_once_t gInitChannelPool; NSMutableDictionary<GRPCChannelConfiguration *, GRPCChannel *> *_channelPool; } -+ (nullable instancetype)sharedInstance { ++ (instancetype)sharedInstance { dispatch_once(&gInitChannelPool, ^{ gChannelPool = [[GRPCChannelPool alloc] init]; NSAssert(gChannelPool != nil, @"Cannot initialize global channel pool."); |