Fixing compilation issues.

This commit is contained in:
Vojtech Bubnik 2020-11-16 13:11:58 +01:00
parent 812cbade4d
commit db05f00860
17 changed files with 27 additions and 27 deletions

View file

@ -21,7 +21,7 @@ public:
Point& operator[](Points::size_type idx) { return this->points[idx]; }
const Point& operator[](Points::size_type idx) const { return this->points[idx]; }
Polygon() {}
Polygon() = default;
virtual ~Polygon() = default;
explicit Polygon(const Points &points) : MultiPoint(points) {}
Polygon(std::initializer_list<Point> points) : MultiPoint(points) {}