We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d9baed4 + 4cad35b commit f0810dbCopy full SHA for f0810db
Classes/GPXRoute.swift
@@ -69,7 +69,7 @@ public final class GPXRoute: GPXElement, Codable {
69
for child in raw.children {
70
switch child.name {
71
case "link": self.link = GPXLink()
72
- case "rtept": self.routepoints = [GPXRoutePoint]()
+ case "rtept": self.routepoints.append(GPXRoutePoint(raw: child))
73
case "name": self.name = child.text
74
case "cmt": self.comment = child.text
75
case "desc": self.desc = child.text
0 commit comments