diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-02 03:04:20 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:35 -0400 |
commit | 230e03166f061387e7e25591bd2df6acad4195ee (patch) | |
tree | 34d80727f5efa12714f592e1010b51efbc9ba587 /src/xmlparse.cc | |
parent | e70b80d6fe1ed6da6812eb3f4c77570a18eb2bf3 (diff) | |
download | ledger-230e03166f061387e7e25591bd2df6acad4195ee.tar.gz ledger-230e03166f061387e7e25591bd2df6acad4195ee.tar.bz2 ledger-230e03166f061387e7e25591bd2df6acad4195ee.zip |
In the middle of switching to using boost/operators.hpp
Diffstat (limited to 'src/xmlparse.cc')
-rw-r--r-- | src/xmlparse.cc | 7 |
1 files changed, 6 insertions, 1 deletions
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 << "<balance>\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 << "</balance>\n"; |