diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/archive.h | 4 | ||||
| -rw-r--r-- | src/array.h | 2 |
2 files changed, 3 insertions, 3 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; |
diff --git a/src/array.h b/src/array.h index cd0d7da..43892ee 100644 --- a/src/array.h +++ b/src/array.h | |||
| @@ -51,7 +51,7 @@ namespace Bu | |||
| 51 | { | 51 | { |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | operator | 54 | //operator |
| 55 | 55 | ||
| 56 | /** | 56 | /** |
| 57 | * Get the current size of the list. | 57 | * Get the current size of the list. |
