Skip to content
Snippets Groups Projects
Commit 0bf7e48a authored by Jorge Canizales's avatar Jorge Canizales
Browse files

Merge pull request #2209 from murgatroid99/objective_c_const_conversion

Remove const cast warning in GRPCSecureChannel.m
parents e7324878 4a77f3b3
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
@implementation GRPCSecureChannel @implementation GRPCSecureChannel
- (instancetype)initWithHost:(NSString *)host { - (instancetype)initWithHost:(NSString *)host {
static const grpc_credentials *kCredentials; static grpc_credentials *kCredentials;
static dispatch_once_t loading; static dispatch_once_t loading;
dispatch_once(&loading, ^{ dispatch_once(&loading, ^{
// Do not use NSBundle.mainBundle, as it's nil for tests of library projects. // Do not use NSBundle.mainBundle, as it's nil for tests of library projects.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment