diff options
-rw-r--r-- | src/hash.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1273,7 +1273,8 @@ namespace Bu | |||
1273 | typename c, typename d> | 1273 | typename c, typename d> |
1274 | ArchiveBase &operator<<( ArchiveBase &ar, const Hash<key,value,a,b,c,d> &h ) | 1274 | ArchiveBase &operator<<( ArchiveBase &ar, const Hash<key,value,a,b,c,d> &h ) |
1275 | { | 1275 | { |
1276 | ar << h.getSize(); | 1276 | long iSize = h.getSize(); |
1277 | ar << iSize; | ||
1277 | for( typename Hash<key,value,a,b,c,d>::const_iterator i = h.begin(); i != h.end(); i++ ) | 1278 | for( typename Hash<key,value,a,b,c,d>::const_iterator i = h.begin(); i != h.end(); i++ ) |
1278 | { | 1279 | { |
1279 | ar << (i.getKey()); | 1280 | ar << (i.getKey()); |