Skip to content

Commit 2215f92

Browse files
committed
Get Dispatch compiling on linux
explicitly importing Dispatch
1 parent a684e63 commit 2215f92

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

Source/Shared/Storage/AsyncStorage.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Foundation
2+
import Dispatch
23

34
/// Manipulate storage in a "all async" manner.
45
/// The completion closure will be called when operation completes.

Source/Shared/Storage/AsyncStorageAware.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Foundation
2+
import Dispatch
23

34
/// A protocol used for saving and loading from storage in async manner.
45
public protocol AsyncStorageAware: class {

Source/Shared/Storage/Storage.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Foundation
2+
import Dispatch
23

34
/// Manage storage. Use memory storage if specified.
45
/// Synchronous by default. Use `async` for asynchronous operations.

Source/Shared/Storage/SyncStorage.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Foundation
2+
import Dispatch
23

34
/// Manipulate storage in a "all sync" manner.
45
/// Block the current queue until the operation completes.

Tests/iOS/Tests/Storage/AsyncStorageTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import XCTest
2+
import Dispatch
23
@testable import Cache
34

45
final class AsyncStorageTests: XCTestCase {

Tests/iOS/Tests/Storage/SyncStorageTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import XCTest
2+
import Dispatch
23
@testable import Cache
34

45
final class SyncStorageTests: XCTestCase {

0 commit comments

Comments
 (0)