diff options
Diffstat (limited to 'src/archive.h')
-rw-r--r-- | src/archive.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/archive.h b/src/archive.h index 2d652ec..24c3a67 100644 --- a/src/archive.h +++ b/src/archive.h | |||
@@ -152,7 +152,7 @@ namespace Bu | |||
152 | 152 | ||
153 | template<typename T> Archive &operator<<( Archive &ar, std::list<T> &l ) | 153 | template<typename T> Archive &operator<<( Archive &ar, std::list<T> &l ) |
154 | { | 154 | { |
155 | typename std::list<T>::size_type num = l.size(); | 155 | typename std::list<T>::size_type num = l.getSize(); |
156 | ar << num; | 156 | ar << num; |
157 | for( typename std::list<T>::const_iterator i = l.begin(); i != l.end(); | 157 | for( typename std::list<T>::const_iterator i = l.begin(); i != l.end(); |
158 | i++ ) | 158 | i++ ) |
@@ -181,7 +181,7 @@ namespace Bu | |||
181 | template<typename key, typename value> | 181 | template<typename key, typename value> |
182 | Archive &operator<<( Archive &ar, Hash<key,value> &h ) | 182 | Archive &operator<<( Archive &ar, Hash<key,value> &h ) |
183 | { | 183 | { |
184 | ar << h.size(); | 184 | ar << h.getSize(); |
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; |