Skip to content

Commit

Permalink
Fix build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbarsky-apple committed Nov 6, 2024
1 parent f185668 commit 19f2ca5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/darwin/Framework/CHIP/MTRAttributeValueWaiter.mm
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ @interface MTRAttributeValueWaiter ()
@property (nonatomic, retain) NSDictionary<MTRAttributePath *, MTRAwaitedAttributeState *> * valueExpectations;
// Protected by the MTRDevice's lock.
@property (nonatomic, readwrite, retain) dispatch_queue_t queue;
@property (nonatomic, readwrite, retain, nullable) MTRStatusCompletion completion;
@property (nonatomic, readwrite, copy, nullable) MTRStatusCompletion completion;
@property (nonatomic, readonly, retain) MTRDevice * device;
@end

Expand Down
2 changes: 1 addition & 1 deletion src/darwin/Framework/CHIP/MTRDevice.mm
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ - (MTRAttributeValueWaiter *)waitForAttributeValues:(NSDictionary<MTRAttributePa
// Check whether the values coming in make sense.
for (MTRAttributePath * path in values) {
MTRVerifyArgumentOrDie(MTRDataValueDictionaryIsWellFormed(values[path]),
[NSString stringWithFormat:@"waitForAttributeValues handed invalid data-value %@ for path %@", path, values[path]]);
([NSString stringWithFormat:@"waitForAttributeValues handed invalid data-value %@ for path %@", path, values[path]]));
}

// Check whether we have all these values already.
Expand Down

0 comments on commit 19f2ca5

Please sign in to comment.