File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ class multigeometry_t
166166{
167167public:
168168 using const_iterator = typename std::vector<GEOM>::const_iterator;
169- using iterator = typename std::vector<GEOM>::const_iterator ;
169+ using iterator = typename std::vector<GEOM>::iterator ;
170170 using value_type = GEOM;
171171
172172 [[nodiscard]] std::size_t num_geometries () const noexcept
@@ -194,6 +194,8 @@ class multigeometry_t
194194 return a.m_geometry != b.m_geometry ;
195195 }
196196
197+ iterator begin () noexcept { return m_geometry.begin (); }
198+ iterator end () noexcept { return m_geometry.end (); }
197199 const_iterator begin () const noexcept { return m_geometry.cbegin (); }
198200 const_iterator end () const noexcept { return m_geometry.cend (); }
199201 const_iterator cbegin () const noexcept { return m_geometry.cbegin (); }
You can’t perform that action at this time.
0 commit comments