From a38ed141c1f33ecdad99b322acb1ae07b30a5da2 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 18 May 2012 01:31:01 -0600 Subject: Switched to Boost.PropertyTree for XML generation --- src/amount.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/amount.h') diff --git a/src/amount.h b/src/amount.h index cd77a79a..5863381b 100644 --- a/src/amount.h +++ b/src/amount.h @@ -776,8 +776,8 @@ inline std::istream& operator>>(std::istream& in, amount_t& amt) { return in; } -void to_xml(std::ostream& out, const amount_t& amt, - bool commodity_details = false); +void put_amount(property_tree::ptree& pt, const amount_t& amt, + bool wrap = true, bool commodity_details = false); } // namespace ledger -- cgit v1.2.3