From fecbea5970bb89c15b35f5df5b09914b4c91efe0 Mon Sep 17 00:00:00 2001 From: David Date: Thu, 9 Oct 2008 15:15:50 +0000 Subject: david - make the operator= on iterator and const_iterator return themselves. --- src/hash.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hash.h b/src/hash.h index 2810e35..f06c40f 100644 --- a/src/hash.h +++ b/src/hash.h @@ -640,6 +640,7 @@ namespace Bu "Cannot mix iterators from different hash objects."); nPos = oth.nPos; bFinished = oth.bFinished; + return *this; } /** @@ -756,6 +757,7 @@ namespace Bu "Cannot mix iterators from different hash objects."); nPos = oth.nPos; bFinished = oth.bFinished; + return *this; } /** -- cgit v1.2.3