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/datex2.cppm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'server/src/datex2.cppm') diff --git a/server/src/datex2.cppm b/server/src/datex2.cppm index ae66631..421d29c 100644 --- a/server/src/datex2.cppm +++ b/server/src/datex2.cppm @@ -20,8 +20,8 @@ export struct situation; export struct road_closure { - std::weak_ptr parent; - std::optional validity; + std::weak_ptr parent = {}; + std::optional> validity = std::nullopt; std::vector relevant_points = {}; std::vector> relevant_line_strings = {}; @@ -29,7 +29,7 @@ export struct road_closure export struct situation { - std::string id; + std::string id = {}; std::optional location = std::nullopt; // as shown on the map, not used for querying std::vector comments = {}; @@ -38,8 +38,8 @@ export struct situation export struct situation_publication { - time::timestamp publication_time; - std::vector> situations; + time::timestamp<> publication_time = {}; + std::vector> situations = {}; }; export class loader -- cgit v1.3.1