aboutsummaryrefslogtreecommitdiff
path: root/src/archive.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-04-10 17:37:46 +0000
committerMike Buland <eichlan@xagasoft.com>2007-04-10 17:37:46 +0000
commite7ab7cb1604c04763bbdcece5885e6ce5aa100b4 (patch)
treedb5bee7da9373f64508e243f24031bc35b1acee7 /src/archive.cpp
parent903e7a1e3d4fe99e9de7f4adc1e401ba871caec9 (diff)
downloadlibbu++-e7ab7cb1604c04763bbdcece5885e6ce5aa100b4.tar.gz
libbu++-e7ab7cb1604c04763bbdcece5885e6ce5aa100b4.tar.bz2
libbu++-e7ab7cb1604c04763bbdcece5885e6ce5aa100b4.tar.xz
libbu++-e7ab7cb1604c04763bbdcece5885e6ce5aa100b4.zip
Fixed a warning in the SFile test, and added std::list support to the archive.
I guess I should write a test for it too... I'm also thinking of removing the S from the front of the stream children.
Diffstat (limited to 'src/archive.cpp')
-rw-r--r--src/archive.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/archive.cpp b/src/archive.cpp
index edc8625..c759477 100644
--- a/src/archive.cpp
+++ b/src/archive.cpp
@@ -324,19 +324,6 @@ Bu::Archive &Bu::operator>>(Bu::Archive &s, Bu::Archival &p)
324 return s; 324 return s;
325} 325}
326 326
327/*
328Bu::Archive &Bu::operator&&(Bu::Archive &s, Bu::Archival &p)
329{
330 if (s.isLoading())
331 {
332 return s >> p;
333 }
334 else
335 {
336 return s << p;
337 }
338}*/
339
340Bu::Archive &Bu::operator<<( Bu::Archive &ar, std::string &s ) 327Bu::Archive &Bu::operator<<( Bu::Archive &ar, std::string &s )
341{ 328{
342 ar << (uint32_t)s.length(); 329 ar << (uint32_t)s.length();