From 2ebc1f4a48656d6141633effe03cde6904a14473 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 5 Sep 2007 22:48:53 +0000 Subject: Fixed a couple of uber-minor compilation bugs. --- src/archive.h | 4 ++-- 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 template Archive &operator<<( Archive &ar, std::list &l ) { - typename std::list::size_type num = l.size(); + typename std::list::size_type num = l.getSize(); ar << num; for( typename std::list::const_iterator i = l.begin(); i != l.end(); i++ ) @@ -181,7 +181,7 @@ namespace Bu template Archive &operator<<( Archive &ar, Hash &h ) { - ar << h.size(); + ar << h.getSize(); for( typename Hash::iterator i = h.begin(); i != h.end(); i++ ) { //std::pair 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 { } - operator + //operator /** * Get the current size of the list. -- cgit v1.2.3