Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit c797fdf

Browse files
maickiappleguy
authored andcommitted
Use children directly instead of fast enumeration of ASEnvironment object (#2015)
1 parent 589efef commit c797fdf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

AsyncDisplayKit/Private/ASEnvironmentInternal.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void ASEnvironmentPerformBlockOnObjectAndChildren(id<ASEnvironment> object, void
4444

4545
block(object);
4646

47-
for (id<ASEnvironment> child in object) {
47+
for (id<ASEnvironment> child in [object children]) {
4848
queue.push(child);
4949
}
5050
}

0 commit comments

Comments
 (0)