Commit 5403c6dd authored by Xavier Thompson's avatar Xavier Thompson

Fix const-correctness of iterators in cypclass set

parent 515ed631
......@@ -204,7 +204,7 @@ cdef cypclass cypset[V]:
cypset[V] __ior__(self, const cypset[V] other) except ~:
if self._active_iterators == 0:
self._elements.insert(other._elements.const_begin(), other._elements.end())
self._elements.insert(other._elements.const_begin(), other._elements.const_end())
return self
else:
with gil:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment