Fixed Clang 12 compiler warnings.
This commit is contained in:
parent
383f6509a9
commit
46c827c7fc
8 changed files with 15 additions and 7 deletions
|
@ -17,7 +17,8 @@ class MultiPoint
|
|||
public:
|
||||
Points points;
|
||||
|
||||
MultiPoint() {}
|
||||
MultiPoint() = default;
|
||||
virtual ~MultiPoint() = default;
|
||||
MultiPoint(const MultiPoint &other) : points(other.points) {}
|
||||
MultiPoint(MultiPoint &&other) : points(std::move(other.points)) {}
|
||||
MultiPoint(std::initializer_list<Point> list) : points(list) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue