fix compile error

This commit is contained in:
John Estropia
2016-02-25 15:05:27 +09:00
parent 15353268e2
commit 3905423038
2 changed files with 7 additions and 4 deletions

View File

@@ -62,8 +62,9 @@ public final class UnsafeDataTransaction: BaseDataTransaction {
*/
public func commitAndWait() -> SaveResult {
self.result = self.context.saveSynchronously()
return self.result
let result = self.context.saveSynchronously()
self.result = result
return result
}
/**