BufferIterator: allow invalid iterator in operator=
This commit is contained in:
parent
71fcc123bc
commit
2830825c56
|
@ -32,7 +32,6 @@ inline BufferIterator& BufferIterator::operator=(const BufferIterator& iterator)
|
||||||
{
|
{
|
||||||
m_buffer = iterator.m_buffer;
|
m_buffer = iterator.m_buffer;
|
||||||
m_coord = iterator.m_coord;
|
m_coord = iterator.m_coord;
|
||||||
assert(is_valid());
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user