Skip to content

Commit

Permalink
chore: more clang warnings fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad Vesa committed Aug 19, 2020
1 parent f1aa563 commit 4e58faf
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/pfaedle/osm/Osm.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ typedef std::pair<std::string, std::string> Attr;
typedef std::vector<osmid> OsmIdList;

struct OsmRel {
OsmRel() : id(0) {}
OsmRel() : id(0),
keepFlags(0),
dropFlags(0) {}
osmid id;
AttrMap attrs;
std::vector<osmid> nodes;
Expand All @@ -35,7 +37,9 @@ struct OsmRel {
};

struct OsmWay {
OsmWay() : id(0) {}
OsmWay() : id(0),
keepFlags(0),
dropFlags(0) {}
osmid id;
AttrMap attrs;
std::vector<osmid> nodes;
Expand All @@ -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;
Expand Down

0 comments on commit 4e58faf

Please sign in to comment.