diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-09-05 22:48:53 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-09-05 22:48:53 +0000 |
commit | 2ebc1f4a48656d6141633effe03cde6904a14473 (patch) | |
tree | a2f89bd8f40aaaebc70fbe0eba15b6ec9d20ac4a | |
parent | c4176c4dc172e8b30536a4eb90ae6f6f80f75436 (diff) | |
download | libbu++-2ebc1f4a48656d6141633effe03cde6904a14473.tar.gz libbu++-2ebc1f4a48656d6141633effe03cde6904a14473.tar.bz2 libbu++-2ebc1f4a48656d6141633effe03cde6904a14473.tar.xz libbu++-2ebc1f4a48656d6141633effe03cde6904a14473.zip |
Fixed a couple of uber-minor compilation bugs.
Diffstat (limited to '')
-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. |