diff options
author | David <david@xagasoft.com> | 2008-10-09 15:15:50 +0000 |
---|---|---|
committer | David <david@xagasoft.com> | 2008-10-09 15:15:50 +0000 |
commit | fecbea5970bb89c15b35f5df5b09914b4c91efe0 (patch) | |
tree | 205bc4669f6339a28056874271873d12369fcedf | |
parent | 10a078da8f7129c73bc5a40040e6f762f1f5936f (diff) | |
download | libbu++-fecbea5970bb89c15b35f5df5b09914b4c91efe0.tar.gz libbu++-fecbea5970bb89c15b35f5df5b09914b4c91efe0.tar.bz2 libbu++-fecbea5970bb89c15b35f5df5b09914b4c91efe0.tar.xz libbu++-fecbea5970bb89c15b35f5df5b09914b4c91efe0.zip |
david - make the operator= on iterator and const_iterator return themselves.
-rw-r--r-- | src/hash.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -640,6 +640,7 @@ namespace Bu | |||
640 | "Cannot mix iterators from different hash objects."); | 640 | "Cannot mix iterators from different hash objects."); |
641 | nPos = oth.nPos; | 641 | nPos = oth.nPos; |
642 | bFinished = oth.bFinished; | 642 | bFinished = oth.bFinished; |
643 | return *this; | ||
643 | } | 644 | } |
644 | 645 | ||
645 | /** | 646 | /** |
@@ -756,6 +757,7 @@ namespace Bu | |||
756 | "Cannot mix iterators from different hash objects."); | 757 | "Cannot mix iterators from different hash objects."); |
757 | nPos = oth.nPos; | 758 | nPos = oth.nPos; |
758 | bFinished = oth.bFinished; | 759 | bFinished = oth.bFinished; |
760 | return *this; | ||
759 | } | 761 | } |
760 | 762 | ||
761 | /** | 763 | /** |