aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/hash.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/hash.h b/src/hash.h
index be57786..04f2657 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -507,6 +507,18 @@ namespace Bu
507 bool bFinished; 507 bool bFinished;
508 508
509 public: 509 public:
510 iterator( const iterator &i ) :
511 hsh( i.hsh ),
512 nPos( i.nPos ),
513 bFinished( i.bFinished )
514 {
515 }
516
517 bool isActive()
518 {
519 return !bFinished;
520 }
521
510 /** 522 /**
511 * Iterator incrementation operator. Move the iterator forward. 523 * Iterator incrementation operator. Move the iterator forward.
512 */ 524 */