Merge pull request #4511 from grpc/fix-dictionary-warning

Prevent warnings on dictionaries w/o string keys
pull/4534/head
Michael Lumish 9 years ago
commit 0d1d054289
  1. 6
      src/objective-c/GRPCClient/GRPCCall.h

@ -241,11 +241,11 @@ DEPRECATED_MSG_ATTRIBUTE("Use NSDictionary or NSMutableDictionary instead.")
@protocol GRPCRequestHeaders <NSObject> @protocol GRPCRequestHeaders <NSObject>
@property(nonatomic, readonly) NSUInteger count; @property(nonatomic, readonly) NSUInteger count;
- (id)objectForKeyedSubscript:(NSString *)key; - (id)objectForKeyedSubscript:(id)key;
- (void)setObject:(id)obj forKeyedSubscript:(NSString *)key; - (void)setObject:(id)obj forKeyedSubscript:(id)key;
- (void)removeAllObjects; - (void)removeAllObjects;
- (void)removeObjectForKey:(NSString *)key; - (void)removeObjectForKey:(id)key;
@end @end
#pragma clang diagnostic push #pragma clang diagnostic push

Loading…
Cancel
Save