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:
parent
71fcc123bc
commit
2830825c56
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user