aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/RxLibrary/GRXConcurrentWriteable.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2017-10-19 18:41:01 -0700
committerGravatar Muxi Yan <mxyan@google.com>2017-10-20 14:49:26 -0700
commit0c0ebc57e26ffc0579fda10cce65976d8ad06e0f (patch)
tree1be0bcf28b9e182573c4ffd19a5dc2f455e50585 /src/objective-c/RxLibrary/GRXConcurrentWriteable.m
parent4b8e4756426da3056fab06fd358ebc211cb7b8c6 (diff)
Fix gRPC ObjC void function definition
Diffstat (limited to 'src/objective-c/RxLibrary/GRXConcurrentWriteable.m')
-rw-r--r--src/objective-c/RxLibrary/GRXConcurrentWriteable.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/RxLibrary/GRXConcurrentWriteable.m b/src/objective-c/RxLibrary/GRXConcurrentWriteable.m
index bbfe491783..37bc975f87 100644
--- a/src/objective-c/RxLibrary/GRXConcurrentWriteable.m
+++ b/src/objective-c/RxLibrary/GRXConcurrentWriteable.m
@@ -50,7 +50,7 @@
dispatchQueue:dispatch_get_main_queue()];
}
-- (void)enqueueValue:(id)value completionHandler:(void (^)())handler {
+- (void)enqueueValue:(id)value completionHandler:(void (^)(void))handler {
dispatch_async(_writeableQueue, ^{
// We're racing a possible cancellation performed by another thread. To turn all already-
// enqueued messages into noops, cancellation nillifies the writeable property. If we get it