From 02475e05ccd1aa15c6a6163834f28bfebbef796f Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Mon, 30 Nov 2026 11:47:36 +0100 Subject: RWGPS webhook and such --- server/src/gpx.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'server/src/gpx.cpp') diff --git a/server/src/gpx.cpp b/server/src/gpx.cpp index 2193e6a..c43b380 100644 --- a/server/src/gpx.cpp +++ b/server/src/gpx.cpp @@ -51,7 +51,7 @@ auto parse_wpt(xml::executor_ref e, xml::attribute_view attrs) co_return *mp; } -auto parse_trkseg(xml::executor_ref e, xml::attribute_view) +auto parse_trkseg(xml::executor_ref e, xml::attribute_view /* attrs */) -> xml::parser { auto s = track_segment{}; @@ -61,7 +61,8 @@ auto parse_trkseg(xml::executor_ref e, xml::attribute_view) co_return std::move(s); } -auto parse_trk(xml::executor_ref e, xml::attribute_view) -> xml::parser +auto parse_trk(xml::executor_ref e, xml::attribute_view /* attrs */) + -> xml::parser { auto t = track{}; t.name = co_await allow_element( @@ -112,7 +113,7 @@ auto qname(std::string_view local) -> xml::qname_view return {.ns_uri = xmlns, .local = local}; } -auto parse_metadata(xml::executor_ref e, xml::attribute_view) +auto parse_metadata(xml::executor_ref e, xml::attribute_view /* attrs */) -> xml::parser { auto meta = metadata{}; @@ -154,7 +155,7 @@ auto parse_wpt(xml::executor_ref e, xml::attribute_view attrs) co_return *mp; } -auto parse_trkseg(xml::executor_ref e, xml::attribute_view) +auto parse_trkseg(xml::executor_ref e, xml::attribute_view /* attrs */) -> xml::parser { auto s = track_segment{}; @@ -166,7 +167,8 @@ auto parse_trkseg(xml::executor_ref e, xml::attribute_view) co_return std::move(s); } -auto parse_trk(xml::executor_ref e, xml::attribute_view) -> xml::parser +auto parse_trk(xml::executor_ref e, xml::attribute_view /* attrs */) + -> xml::parser { auto t = track{}; t.name = co_await allow_element( -- cgit v1.3.1