From 57af4fca5b9ec94b5c510a99e4d0581305124361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Tue, 7 Jan 2025 09:11:36 +0100 Subject: [PATCH] Added missing defaults --- src/data.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/data.h b/src/data.h index 4bf6257..d714925 100644 --- a/src/data.h +++ b/src/data.h @@ -17,6 +17,8 @@ public: struct Feature { + Feature() : id(0), type(UNKNOWN) {} + quint64 id; QVector tags; GeomType type; @@ -25,6 +27,8 @@ public: struct Layer { + Layer() : version(1), extent(4096) {} + quint32 version; QByteArray name; QVector features;