diff --git a/src/pfaedle/osm/Osm.h b/src/pfaedle/osm/Osm.h index 18a510f..07393ed 100644 --- a/src/pfaedle/osm/Osm.h +++ b/src/pfaedle/osm/Osm.h @@ -21,7 +21,9 @@ typedef std::pair Attr; typedef std::vector OsmIdList; struct OsmRel { - OsmRel() : id(0) {} + OsmRel() : id(0), + keepFlags(0), + dropFlags(0) {} osmid id; AttrMap attrs; std::vector nodes; @@ -35,7 +37,9 @@ struct OsmRel { }; struct OsmWay { - OsmWay() : id(0) {} + OsmWay() : id(0), + keepFlags(0), + dropFlags(0) {} osmid id; AttrMap attrs; std::vector nodes; @@ -45,7 +49,11 @@ struct OsmWay { }; struct OsmNode { - OsmNode() : id(0) {} + OsmNode() : id(0), + lat(0.f), + lng(0.f), + keepFlags(0), + dropFlags(0) {} osmid id; double lat; double lng;