Skip to content

Commit

Permalink
fixup add final, mark default const. as deleted, mark destruct. as de…
Browse files Browse the repository at this point in the history
…fault.
  • Loading branch information
TomFischer committed Apr 26, 2016
1 parent 4847935 commit f9baa65
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion GeoLib/Polyline.h
Expand Up @@ -51,7 +51,7 @@ enum class Location
class Polyline : public GeoObject
{
public:
class SegmentIterator
class SegmentIterator final
: public std::iterator<std::forward_iterator_tag, LineSegment>
{
public:
Expand All @@ -60,6 +60,9 @@ class Polyline : public GeoObject

SegmentIterator(SegmentIterator const& src);

SegmentIterator() = delete;
~SegmentIterator() = default;

SegmentIterator& operator=(SegmentIterator const& rhs);

std::size_t getSegmentNumber() const;
Expand Down

0 comments on commit f9baa65

Please sign in to comment.