From 230e03166f061387e7e25591bd2df6acad4195ee Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 2 May 2007 03:04:20 +0000 Subject: In the middle of switching to using boost/operators.hpp --- src/xmlparse.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/xmlparse.cc') diff --git a/src/xmlparse.cc b/src/xmlparse.cc index 51da13f4..94b76ad7 100644 --- a/src/xmlparse.cc +++ b/src/xmlparse.cc @@ -321,10 +321,15 @@ void xml_write_value(std::ostream& out, const value_t& value, for (int i = 0; i < depth + 2; i++) out << ' '; out << "\n"; - for (amounts_map::const_iterator i = bal->amounts.begin(); +#if 0 + // jww (2007-04-30): Change this so that types know how to stream + // themselves to XML on their own. + + for (balance_t::amounts_map::const_iterator i = bal->amounts.begin(); i != bal->amounts.end(); i++) xml_write_amount(out, (*i).second, depth + 4); +#endif for (int i = 0; i < depth + 2; i++) out << ' '; out << "\n"; -- cgit v1.2.3