kopia lustrzana https://gitlab.com/tomaszg/geostat
Cppcheck: add explicit to some constructors in region.h
rodzic
cc8415d258
commit
750d620223
4
region.h
4
region.h
|
@ -27,7 +27,7 @@ private:
|
|||
bg::model::polygon<boost::geometry::model::d2::point_xy<double>> contour;
|
||||
BoundingBox bbox;
|
||||
public:
|
||||
ContourData(BoundingBox bbox);
|
||||
explicit ContourData(BoundingBox bbox);
|
||||
bool within(Position p);
|
||||
void add_point(Position p);
|
||||
};
|
||||
|
@ -53,6 +53,6 @@ class Country {
|
|||
private:
|
||||
std::vector<Region*> regions;
|
||||
public:
|
||||
Country(const std::vector<std::filesystem::path>& jsons);
|
||||
explicit Country(const std::vector<std::filesystem::path>& jsons);
|
||||
void locate(Cache& c);
|
||||
};
|
||||
|
|
Ładowanie…
Reference in New Issue