Skip to content

Commit e05c00d

Browse files
committed
Fix build issue
1 parent 81c515f commit e05c00d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MapboxGeocoder/MBGeocoder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ open class Geocoder: NSObject {
208208
*/
209209
@discardableResult
210210
@objc(batchGeocodeWithOptions:completionHandler:)
211-
open func batchGeocode<T: GeocodeOptions>(_ options: T, completionHandler: @escaping BatchCompletionHandler) -> URLSessionDataTask where T: BatchGeocodeOptions {
211+
open func batchGeocode(_ options: GeocodeOptions & BatchGeocodeOptions, completionHandler: @escaping BatchCompletionHandler) -> URLSessionDataTask {
212212
let url = urlForGeocoding(options)
213213

214214
let task = dataTaskWithURL(url, completionHandler: { (data) in

0 commit comments

Comments
 (0)