From ae5a3e1ded55654e430e43692e6e7887c21a3013 Mon Sep 17 00:00:00 2001 From: Jeff Tung <100387939+jtung-apple@users.noreply.github.com> Date: Thu, 11 Apr 2024 15:57:55 -0700 Subject: [PATCH] Update src/darwin/Framework/CHIP/MTRDevice.mm Co-authored-by: Boris Zbarsky --- src/darwin/Framework/CHIP/MTRDevice.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/darwin/Framework/CHIP/MTRDevice.mm b/src/darwin/Framework/CHIP/MTRDevice.mm index c89e3ac1a423f7..d42c2e0a70e868 100644 --- a/src/darwin/Framework/CHIP/MTRDevice.mm +++ b/src/darwin/Framework/CHIP/MTRDevice.mm @@ -243,7 +243,7 @@ - (BOOL)isEqualToClusterData:(MTRDeviceClusterData *)otherClusterData - (BOOL)isEqual:(id)object { - if (![object isKindOfClass:[MTRDeviceClusterData class]]) { + if ([object class] != [self class]) { return NO; }