Skip to content

Commit

Permalink
fix and win
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobby Sudekum committed Mar 13, 2018
1 parent 0b58096 commit 3129a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MapboxDirections/MBDirectionsResult.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ open class DirectionsResult: NSObject, NSSecureCoding {
distance = decoder.decodeDouble(forKey: "distance")
expectedTravelTime = decoder.decodeDouble(forKey: "expectedTravelTime")

guard let options = decoder.decodeObject(of: [DirectionsResult.self], forKey: "directionsOptions") as? DirectionsOptions else {
guard let options = decoder.decodeObject(of: [DirectionsOptions.self], forKey: "directionsOptions") as? DirectionsOptions else {
return nil
}
directionsOptions = options
Expand Down

0 comments on commit 3129a16

Please sign in to comment.