diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/hash.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 | */ |