aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/ProtoRPC/ProtoRPC.h
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-12-18 11:13:13 -0800
committerGravatar Muxi Yan <mxyan@google.com>2018-12-18 11:13:13 -0800
commit8bc8ff3dce507f912b8985fefaa22da1e2d95b6d (patch)
treecf4b044c93d4be009d44fab477893bcc40963ae0 /src/objective-c/ProtoRPC/ProtoRPC.h
parentd36a13af3182495079bee65ff78e3e7e7f0d5901 (diff)
Fix nullability incompatibility
Diffstat (limited to 'src/objective-c/ProtoRPC/ProtoRPC.h')
-rw-r--r--src/objective-c/ProtoRPC/ProtoRPC.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoRPC.h b/src/objective-c/ProtoRPC/ProtoRPC.h
index 91a50d395a..8ce3421cc1 100644
--- a/src/objective-c/ProtoRPC/ProtoRPC.h
+++ b/src/objective-c/ProtoRPC/ProtoRPC.h
@@ -134,6 +134,9 @@ NS_ASSUME_NONNULL_BEGIN
NS_ASSUME_NONNULL_END
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wnullability-completeness"
+
__attribute__((deprecated("Please use GRPCProtoCall."))) @interface ProtoRPC
: GRPCCall
@@ -160,3 +163,5 @@ __attribute__((deprecated("Please use GRPCProtoCall."))) @interface ProtoRPC
#pragma clang diagnostic pop
@end
+
+#pragma clang diagnostic pop