From 250503471b5be1cf5e2f41a7c787f9a1af33dac7 Mon Sep 17 00:00:00 2001 From: Joe George Date: Wed, 7 Aug 2024 10:59:43 -0400 Subject: [PATCH] clang format --- swift/src/IceImpl/Connection.mm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/swift/src/IceImpl/Connection.mm b/swift/src/IceImpl/Connection.mm index fbe38262e77..2c96610f1c4 100644 --- a/swift/src/IceImpl/Connection.mm +++ b/swift/src/IceImpl/Connection.mm @@ -91,7 +91,7 @@ - (BOOL)setCloseCallback:(void (^)(ICEConnection*))callback error:(NSError**)err { if (callback) { - self.connection->setCloseCallback( + self.connection->setCloseCallback( [callback](auto connection) { ICEConnection* conn = [ICEConnection getHandle:connection]; @@ -101,7 +101,6 @@ - (BOOL)setCloseCallback:(void (^)(ICEConnection*))callback error:(NSError**)err callback(conn); } }); - } else {