mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 01:39:02 +08:00
Add virtual destructor to MultiPoint
MutliPoint is beeing inherited from.
This commit is contained in:
parent
fae52557cc
commit
092721ab0a
@ -178,6 +178,7 @@ public:
|
||||
MultiPoint(MultiPoint &&other) : points(std::move(other.points)) {}
|
||||
MultiPoint(std::initializer_list<Point> list) : points(list) {}
|
||||
explicit MultiPoint(const Points &_points) : points(_points) {}
|
||||
virtual ~MultiPoint() = default;
|
||||
MultiPoint& operator=(const MultiPoint &other) { points = other.points; return *this; }
|
||||
MultiPoint& operator=(MultiPoint &&other) { points = std::move(other.points); return *this; }
|
||||
void scale(double factor);
|
||||
|
Loading…
x
Reference in New Issue
Block a user