Fixed Clang 12 compiler warnings.

This commit is contained in:
Lukáš Hejl 2022-01-28 14:51:08 +01:00
parent 383f6509a9
commit 46c827c7fc
8 changed files with 15 additions and 7 deletions

View file

@ -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) {}