BufferIterator: fix operator=

This commit is contained in:
Maxime Coste 2011-09-24 13:06:35 +00:00
parent 53c9021857
commit d4933daba0

View File

@ -33,7 +33,7 @@ const Buffer& BufferIterator::buffer() const
BufferIterator& BufferIterator::operator=(const BufferIterator& iterator) BufferIterator& BufferIterator::operator=(const BufferIterator& iterator)
{ {
m_buffer == iterator.m_buffer; m_buffer = iterator.m_buffer;
m_position = iterator.m_position; m_position = iterator.m_position;
} }