diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2013-09-03 21:26:58 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2013-09-03 21:26:58 +0400 |
commit | a49dc603cc63850ed5a869132e2c1104ba8191d5 (patch) | |
tree | 9eaf88c6a4208dd457c22eb63171eb5ff817b391 /xs/src/Polygon.hpp | |
parent | 275422fac783f98be5ae63e01b3fbc8e007b19d2 (diff) |
Many changes and fixes to remove leaks and return objects by reference
Diffstat (limited to 'xs/src/Polygon.hpp')
-rw-r--r-- | xs/src/Polygon.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xs/src/Polygon.hpp b/xs/src/Polygon.hpp index 77ca81147..213c01c89 100644 --- a/xs/src/Polygon.hpp +++ b/xs/src/Polygon.hpp @@ -12,9 +12,9 @@ namespace Slic3r { class Polygon : public MultiPoint { public: Point* last_point() const; - SV* to_SV_ref() const; + SV* to_SV_ref(); SV* to_SV_clone_ref() const; - Lines lines(); + Lines lines() const; Polyline* split_at(const Point* point); Polyline* split_at_index(int index); Polyline* split_at_first_point(); |