aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/hash.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hash.h b/src/hash.h
index 9ac0b0c..71aec73 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -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());