aboutsummaryrefslogtreecommitdiff
path: root/src/archive.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-09-05 22:48:53 +0000
committerMike Buland <eichlan@xagasoft.com>2007-09-05 22:48:53 +0000
commit2ebc1f4a48656d6141633effe03cde6904a14473 (patch)
treea2f89bd8f40aaaebc70fbe0eba15b6ec9d20ac4a /src/archive.h
parentc4176c4dc172e8b30536a4eb90ae6f6f80f75436 (diff)
downloadlibbu++-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 'src/archive.h')
-rw-r--r--src/archive.h4
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;