From 2830825c563ef1f5315030fb7988665679095d15 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 12 Jul 2012 23:11:16 +0200 Subject: [PATCH] BufferIterator: allow invalid iterator in operator= --- src/buffer_iterator.inl.hh | 1 - 1 file changed, 1 deletion(-) diff --git a/src/buffer_iterator.inl.hh b/src/buffer_iterator.inl.hh index 2ae412e7..11747d35 100644 --- a/src/buffer_iterator.inl.hh +++ b/src/buffer_iterator.inl.hh @@ -32,7 +32,6 @@ inline BufferIterator& BufferIterator::operator=(const BufferIterator& iterator) { m_buffer = iterator.m_buffer; m_coord = iterator.m_coord; - assert(is_valid()); return *this; }