Skip to content

Commit

Permalink
Fix a protocol name renamed in Swinject 2.0.0-beta.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
yoichitgy committed Dec 10, 2016
1 parent 255f28c commit 03f8ba4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SwinjectStoryboardOption.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
import Swinject

#if os(iOS) || os(OSX) || os(tvOS)
internal struct SwinjectStoryboardOption: ServiceKeyOptionType {
internal struct SwinjectStoryboardOption: ServiceKeyOption {
internal let controllerType: String

internal init(controllerType: Container.Controller.Type) {
self.controllerType = String(reflecting: controllerType)
}

internal func isEqualTo(_ another: ServiceKeyOptionType) -> Bool {
internal func isEqualTo(_ another: ServiceKeyOption) -> Bool {
guard let another = another as? SwinjectStoryboardOption else {
return false
}
Expand Down

0 comments on commit 03f8ba4

Please sign in to comment.