aboutsummaryrefslogtreecommitdiff
path: root/src/hash.h
diff options
context:
space:
mode:
authorDavid <david@xagasoft.com>2008-10-09 15:15:50 +0000
committerDavid <david@xagasoft.com>2008-10-09 15:15:50 +0000
commitfecbea5970bb89c15b35f5df5b09914b4c91efe0 (patch)
tree205bc4669f6339a28056874271873d12369fcedf /src/hash.h
parent10a078da8f7129c73bc5a40040e6f762f1f5936f (diff)
downloadlibbu++-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.
Diffstat (limited to 'src/hash.h')
-rw-r--r--src/hash.h2
1 files changed, 2 insertions, 0 deletions
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
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 /**