diff --git a/include/boost/geometry/iterators/segment_range_iterator.hpp b/include/boost/geometry/iterators/segment_range_iterator.hpp index dd3ed7c37..8cdd3fd88 100644 --- a/include/boost/geometry/iterators/segment_range_iterator.hpp +++ b/include/boost/geometry/iterators/segment_range_iterator.hpp @@ -8,6 +8,8 @@ #ifndef BOOST_GEOMETRY_SEGMENT_RANGE_ITERATOR_HPP #define BOOST_GEOMETRY_SEGMENT_RANGE_ITERATOR_HPP +#include + #include #include #include @@ -79,8 +81,8 @@ private: { return m_points[m_index]; } - // Should not occur. Probably throw here. - // TODO decide + + BOOST_ASSERT(!"Should not occur"); // Probably throw here. return m_points[0]; }