Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and woody-apple committed Sep 7, 2024
1 parent afef79f commit 351a0e7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/darwin/Framework/CHIP/MTRDeviceController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ - (BOOL)isRunning

- (BOOL)isSuspended
{
@synchronized (self) {
@synchronized(self) {
return _suspended;
}
}
Expand All @@ -359,10 +359,10 @@ - (void)suspend
{
MTR_LOG("%@ suspending", self);

@synchronized (self) {
@synchronized(self) {
_suspended = YES;

NSMutableArray *devicesToSuspend = [NSMutableArray array];
NSMutableArray * devicesToSuspend = [NSMutableArray array];
{
std::lock_guard lock(*self.deviceMapLock);
NSEnumerator * devices = [self.nodeIDToDeviceMap objectEnumerator];
Expand All @@ -387,10 +387,10 @@ - (void)resume
{
MTR_LOG("%@ resuming", self);

@synchronized (self) {
@synchronized(self) {
_suspended = NO;

NSMutableArray *devicesToResume = [NSMutableArray array];
NSMutableArray * devicesToResume = [NSMutableArray array];
{
std::lock_guard lock(*self.deviceMapLock);
NSEnumerator * devices = [self.nodeIDToDeviceMap objectEnumerator];
Expand Down

0 comments on commit 351a0e7

Please sign in to comment.