aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/ProtoRPC/ProtoRPC.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-18 17:04:03 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-18 17:04:03 -0700
commit4264ea2b55f46c1904fc179fb0db7b733b8c3e4b (patch)
treef0894f19b96ae1d8b3c120646b7df47c016b22b7 /src/objective-c/ProtoRPC/ProtoRPC.m
parent6ae2ea643d89f7b2e7839f9016a61361ce92b5d5 (diff)
clang-format
Diffstat (limited to 'src/objective-c/ProtoRPC/ProtoRPC.m')
-rw-r--r--src/objective-c/ProtoRPC/ProtoRPC.m10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoRPC.m b/src/objective-c/ProtoRPC/ProtoRPC.m
index d3005e30a5..238faa3343 100644
--- a/src/objective-c/ProtoRPC/ProtoRPC.m
+++ b/src/objective-c/ProtoRPC/ProtoRPC.m
@@ -88,7 +88,9 @@
_callOptions = [callOptions copy];
_responseClass = responseClass;
if (@available(iOS 8.0, *)) {
- _dispatchQueue = dispatch_queue_create(NULL, dispatch_queue_attr_make_with_qos_class(DISPATCH_QUEUE_SERIAL, QOS_CLASS_DEFAULT, -1));
+ _dispatchQueue = dispatch_queue_create(
+ NULL,
+ dispatch_queue_attr_make_with_qos_class(DISPATCH_QUEUE_SERIAL, QOS_CLASS_DEFAULT, -1));
} else {
_dispatchQueue = dispatch_queue_create(nil, DISPATCH_QUEUE_SERIAL);
}
@@ -120,9 +122,9 @@
error:[NSError errorWithDomain:kGRPCErrorDomain
code:GRPCErrorCodeCancelled
userInfo:@{
- NSLocalizedDescriptionKey :
- @"Canceled by app"
- }]];
+ NSLocalizedDescriptionKey :
+ @"Canceled by app"
+ }]];
});
}
_handler = nil;