Skip to content

Commit 5ca7c0c

Browse files
committed
Fixed init issue
1 parent a808209 commit 5ca7c0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/GPXRoute.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ open class GPXRoute: GPXElement {
6262
}
6363

6464
func newRoutePointWith(latitude: CGFloat, longitude: CGFloat) -> GPXRoutePoint {
65-
let routepoint = GPXRoutePoint().routePoint(with: latitude, longitude: longitude)
65+
let routepoint = GPXRoutePoint(latitude: latitude, longitude: longitude)
6666
self.add(routepoint: routepoint)
6767

6868
return routepoint

0 commit comments

Comments
 (0)