minor tweak buffer iterator
This commit is contained in:
parent
7f17644a6b
commit
4f1ba860f8
|
@ -146,8 +146,8 @@ inline BufferIterator BufferIterator::operator--(int)
|
||||||
|
|
||||||
inline BufferIterator& BufferIterator::operator=(const BufferCoord& coord)
|
inline BufferIterator& BufferIterator::operator=(const BufferCoord& coord)
|
||||||
{
|
{
|
||||||
|
kak_assert(m_buffer and m_buffer->is_valid(coord));
|
||||||
m_coord = coord;
|
m_coord = coord;
|
||||||
kak_assert(is_valid());
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user