From 19f2ca58d976cf86927218063b7b9f98e261a69f Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Wed, 6 Nov 2024 16:05:16 +0100 Subject: [PATCH] Fix build failure --- src/darwin/Framework/CHIP/MTRAttributeValueWaiter.mm | 2 +- src/darwin/Framework/CHIP/MTRDevice.mm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/darwin/Framework/CHIP/MTRAttributeValueWaiter.mm b/src/darwin/Framework/CHIP/MTRAttributeValueWaiter.mm index 6be8a06e86c5d1..10d0b9f8e1393d 100644 --- a/src/darwin/Framework/CHIP/MTRAttributeValueWaiter.mm +++ b/src/darwin/Framework/CHIP/MTRAttributeValueWaiter.mm @@ -39,7 +39,7 @@ @interface MTRAttributeValueWaiter () @property (nonatomic, retain) NSDictionary * 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 diff --git a/src/darwin/Framework/CHIP/MTRDevice.mm b/src/darwin/Framework/CHIP/MTRDevice.mm index 8cc9ab8550ff68..7c6414d2a1d9c0 100644 --- a/src/darwin/Framework/CHIP/MTRDevice.mm +++ b/src/darwin/Framework/CHIP/MTRDevice.mm @@ -742,7 +742,7 @@ - (MTRAttributeValueWaiter *)waitForAttributeValues:(NSDictionary