diff options
Diffstat (limited to 'src/set.h')
-rw-r--r-- | src/set.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -16,8 +16,6 @@ | |||
16 | #include <utility> | 16 | #include <utility> |
17 | #include "bu/exceptionbase.h" | 17 | #include "bu/exceptionbase.h" |
18 | #include "bu/list.h" | 18 | #include "bu/list.h" |
19 | ///#include "archival.h" | ||
20 | ///#include "archive.h" | ||
21 | 19 | ||
22 | #define bitsToBytes( n ) (n/32+(n%32>0 ? 1 : 0)) | 20 | #define bitsToBytes( n ) (n/32+(n%32>0 ? 1 : 0)) |
23 | 21 | ||
@@ -355,7 +353,7 @@ namespace Bu | |||
355 | { | 353 | { |
356 | if( &hsh != &oth.hsh ) | 354 | if( &hsh != &oth.hsh ) |
357 | throw SetException( | 355 | throw SetException( |
358 | "Cannot mix iterators from different hash objects."); | 356 | "Cannot mix iterators from different set objects."); |
359 | nPos = oth.nPos; | 357 | nPos = oth.nPos; |
360 | bFinished = oth.bFinished; | 358 | bFinished = oth.bFinished; |
361 | } | 359 | } |
@@ -371,7 +369,7 @@ namespace Bu | |||
371 | } iterator; | 369 | } iterator; |
372 | 370 | ||
373 | /** | 371 | /** |
374 | * Iteration structure for iterating through the hash (const). | 372 | * Iteration structure for iterating through the set (const). |
375 | */ | 373 | */ |
376 | typedef struct const_iterator | 374 | typedef struct const_iterator |
377 | { | 375 | { |