Skip to content

Commit 93829a2

Browse files
generatedunixname89002005287564meta-codesync[bot]
authored andcommitted
Run 'facebook-bad-const-placement-check fbtidy' linter on fbobjc via arc cast
Reviewed By: Daij-Djan Differential Revision: D90872770 fbshipit-source-id: 7a13ea11c9a8eeac4080e3af712dae51b58cfd86
1 parent 7240131 commit 93829a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/IGListKit/Internal/IGListAdapter+UICollectionView.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ - (UICollectionViewLayoutAttributes *)collectionView:(UICollectionView *)collect
406406
#pragma mark - Assert helpers
407407

408408
- (NSString *)_debugDetailsForIndexPath:(NSIndexPath *)indexPath __attribute__((objc_direct)) {
409-
const NSObject *object = [self objectAtSection:indexPath.section];
409+
NSObject *const object = [self objectAtSection:indexPath.section];
410410
IGListSectionController *const sectionController = [self sectionControllerForSection:indexPath.section];
411411
return [NSString stringWithFormat:@"{indexPath: %lu-%lu, object: %@, sectionController: %@, dataSource: %@}", indexPath.section, indexPath.item, object.class, sectionController.class, self.dataSource.class];
412412
}

0 commit comments

Comments
 (0)