From d4933daba06d6c79c545a263ff6504a4e459e49b Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 24 Sep 2011 13:06:35 +0000 Subject: [PATCH] BufferIterator: fix operator= --- src/buffer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }