Added missing defaults

This commit is contained in:
Martin Tůma 2025-01-07 09:11:36 +01:00
parent 3c125c9a7a
commit 57af4fca5b

View File

@ -17,6 +17,8 @@ public:
struct Feature struct Feature
{ {
Feature() : id(0), type(UNKNOWN) {}
quint64 id; quint64 id;
QVector<quint32> tags; QVector<quint32> tags;
GeomType type; GeomType type;
@ -25,6 +27,8 @@ public:
struct Layer struct Layer
{ {
Layer() : version(1), extent(4096) {}
quint32 version; quint32 version;
QByteArray name; QByteArray name;
QVector<Feature> features; QVector<Feature> features;