Skip to content

Commit fde2df6

Browse files
committed
Work around a libc++ bug in XCode 26
(cherry picked from commit 9e5ab4599980d638519cc7e56a9f1414b5a8986b)
1 parent b748d51 commit fde2df6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Realm/RLMCollection.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ NSUInteger RLMUnmanagedFastEnumerate(id collection, NSFastEnumerationState *stat
226226

227227
NSUInteger i = 0;
228228
for (id object in collection) {
229-
copy->items[i++] = object;
229+
copy->items.get()[i++] = object;
230230
}
231231

232232
state->itemsPtr = (__unsafe_unretained id *)(void *)copy->items.get();

0 commit comments

Comments
 (0)