Skip to content

Commit

Permalink
Fix the darwin fwk compile (#2309)
Browse files Browse the repository at this point in the history
  • Loading branch information
sagar-apple authored Aug 26, 2020
1 parent b5135b3 commit 5a61d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/darwin/Framework/CHIP/CHIPSetupPayload.mm
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ - (void)getSerialNumber:(chip::SetupPayload)setupPayload
- (NSArray<CHIPOptionalQRCodeInfo *> *)getAllOptionalVendorData:(NSError * __autoreleasing *)error
{
NSMutableArray<CHIPOptionalQRCodeInfo *> * allOptionalData = [NSMutableArray new];
vector<chip::OptionalQRCodeInfo> chipOptionalData = _chipSetupPayload.getAllOptionalVendorData();
std::vector<chip::OptionalQRCodeInfo> chipOptionalData = _chipSetupPayload.getAllOptionalVendorData();
for (chip::OptionalQRCodeInfo chipInfo : chipOptionalData) {
CHIPOptionalQRCodeInfo * info = [CHIPOptionalQRCodeInfo new];
info.tag = [NSNumber numberWithUnsignedChar:chipInfo.tag];
Expand Down

0 comments on commit 5a61d31

Please sign in to comment.