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

@ -16,7 +16,8 @@ typedef std::vector<ThickPolyline> ThickPolylines;
class Polyline : public MultiPoint {
public:
Polyline() {};
Polyline() = default;
~Polyline() override = default;
Polyline(const Polyline &other) : MultiPoint(other.points) {}
Polyline(Polyline &&other) : MultiPoint(std::move(other.points)) {}
Polyline(std::initializer_list<Point> list) : MultiPoint(list) {}