Skip to content

Commit

Permalink
Merge pull request realm#5251 from realm/kk/fix-swift4
Browse files Browse the repository at this point in the history
Fix compilation error in Swift 4
  • Loading branch information
kishikawakatsumi committed Aug 23, 2017
2 parents 7bc8c82 + d929578 commit 3d0e8cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Realm/ObjectServerTests/SwiftObjectServerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class SwiftObjectServerTests: SwiftSyncTestCase {
let user = try synchronouslyLogInUser(for: basicCredentials(register: isParent), server: authURL)
var theError: SyncError?

try autoreleasepool { _ in
try autoreleasepool {
let realm = try synchronouslyOpenRealm(url: realmURL, user: user)
let ex = expectation(description: "Waiting for error handler to be called...")
SyncManager.shared.errorHandler = { (error, session) in
Expand Down

0 comments on commit 3d0e8cb

Please sign in to comment.