From 20c8cc72920b14520160c4e2001caec2b8acddc0 Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Mon, 10 Dec 2018 18:06:34 -0800 Subject: nullability failing --- src/objective-c/GRPCClient/private/GRPCChannelPool+Test.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/objective-c') diff --git a/src/objective-c/GRPCClient/private/GRPCChannelPool+Test.h b/src/objective-c/GRPCClient/private/GRPCChannelPool+Test.h index ca0cc51a52..e2c3aee3d9 100644 --- a/src/objective-c/GRPCClient/private/GRPCChannelPool+Test.h +++ b/src/objective-c/GRPCClient/private/GRPCChannelPool+Test.h @@ -18,6 +18,8 @@ #import "GRPCChannelPool.h" +NS_ASSUME_NONNULL_BEGIN + /** Test-only interface for \a GRPCPooledChannel. */ @interface GRPCPooledChannel (Test) @@ -31,7 +33,7 @@ /** * Return the pointer to the raw channel wrapped. */ -@property(atomic, readonly) GRPCChannel *wrappedChannel; +@property(atomic, readonly, nullable) GRPCChannel *wrappedChannel; @end @@ -45,3 +47,5 @@ - (nullable instancetype)initTestPool; @end + +NS_ASSUME_NONNULL_END -- cgit v1.2.3