mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 03:07:55 -06:00
Don't return first_point() and last_point() by reference
This commit is contained in:
parent
0ffb0f6a58
commit
275422fac7
12 changed files with 28 additions and 42 deletions
|
@ -19,9 +19,8 @@ class MultiPoint
|
|||
void translate(double x, double y);
|
||||
void rotate(double angle, Point* center);
|
||||
void reverse();
|
||||
Point* first_point();
|
||||
const Point* first_point() const;
|
||||
virtual Point* last_point() = 0;
|
||||
Point* first_point() const;
|
||||
virtual Point* last_point() const = 0;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue