mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-11 16:49:01 +08:00
Add virtual destructor to MultiPoint
MutliPoint is beeing inherited from.
This commit is contained in:
parent
fae52557cc
commit
092721ab0a
@ -172,12 +172,13 @@ class MultiPoint
|
||||
{
|
||||
public:
|
||||
Points points;
|
||||
|
||||
|
||||
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) {}
|
||||
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