1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-24 03:56:32 +03:00

BufferIterator: allow invalid iterator in operator=

This commit is contained in:
Maxime Coste 2012-07-12 23:11:16 +02:00
parent 71fcc123bc
commit 2830825c56

View File

@ -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;
}