mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 02:37:51 -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
|
@ -22,13 +22,13 @@ ExtrusionEntityCollection::reverse()
|
|||
}
|
||||
|
||||
Point*
|
||||
ExtrusionEntityCollection::first_point()
|
||||
ExtrusionEntityCollection::first_point() const
|
||||
{
|
||||
return this->entities.front()->first_point();
|
||||
}
|
||||
|
||||
Point*
|
||||
ExtrusionEntityCollection::last_point()
|
||||
ExtrusionEntityCollection::last_point() const
|
||||
{
|
||||
return this->entities.back()->last_point();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue