Skip to content

Commit

Permalink
Remove redundant tuple
Browse files Browse the repository at this point in the history
Resolves a build warning in Xcode 9
  • Loading branch information
hyperspacemark committed Jun 17, 2017
1 parent c0ee9cc commit 53b2cfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DVR/Session.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ open class Session: URLSession {
private var needsPersistence = false
private var outstandingTasks = [URLSessionTask]()
private var completedInteractions = [Interaction]()
private var completionBlock: ((Void) -> Void)?
private var completionBlock: (() -> Void)?

override open var delegate: URLSessionDelegate? {
return backingSession.delegate
Expand Down Expand Up @@ -93,7 +93,7 @@ open class Session: URLSession {
/// This only needs to be called if you call `beginRecording`. `completion` will be called on the main queue after
/// the completion block of the last task is called. `completion` is useful for fulfilling an expectation you setup
/// before calling `beginRecording`.
open func endRecording(_ completion: ((Void) -> Void)? = nil) {
open func endRecording(_ completion: (() -> Void)? = nil) {
if !recording {
return
}
Expand Down

0 comments on commit 53b2cfa

Please sign in to comment.