diff options
-rw-r--r-- | src/archive.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/archive.h b/src/archive.h index 6c0c1df..a2d4c8f 100644 --- a/src/archive.h +++ b/src/archive.h | |||
@@ -184,8 +184,8 @@ namespace Bu | |||
184 | ar << h.size(); | 184 | ar << h.size(); |
185 | for( typename Hash<key,value>::iterator i = h.begin(); i != h.end(); i++ ) | 185 | for( typename Hash<key,value>::iterator i = h.begin(); i != h.end(); i++ ) |
186 | { | 186 | { |
187 | std::pair<key,value> p = *i; | 187 | //std::pair<key,value> p = *i; |
188 | ar << p.first << p.second; | 188 | ar << (i.getKey()) << (i.getValue()); |
189 | } | 189 | } |
190 | 190 | ||
191 | return ar; | 191 | return ar; |
@@ -207,7 +207,6 @@ namespace Bu | |||
207 | 207 | ||
208 | return ar; | 208 | return ar; |
209 | } | 209 | } |
210 | |||
211 | } | 210 | } |
212 | 211 | ||
213 | #endif | 212 | #endif |