diff --git a/src/buffer.cc b/src/buffer.cc index aa900ccf..d37a154e 100644 --- a/src/buffer.cc +++ b/src/buffer.cc @@ -33,7 +33,7 @@ const Buffer& BufferIterator::buffer() const BufferIterator& BufferIterator::operator=(const BufferIterator& iterator) { - m_buffer == iterator.m_buffer; + m_buffer = iterator.m_buffer; m_position = iterator.m_position; }