Skip to content

Commit 220bd9c

Browse files
author
Dave Abrahams
committed
A fix for 33023b3
1 parent 17e4942 commit 220bd9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/private/StdlibUnittestFoundationExtras/StdlibUnittestFoundationExtras.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public func autoreleasepoolIfUnoptimizedReturnAutoreleased(
6868
invoking body: @noescape () -> Void
6969
) {
7070
#if arch(i386) && (os(iOS) || os(watchOS))
71-
autoreleasepool(body)
71+
autoreleasepool(invoking: body)
7272
#else
7373
body()
7474
#endif

0 commit comments

Comments
 (0)