diff options
author | John Wiegley <johnw@newartisans.com> | 2012-05-18 01:31:01 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-05-18 01:31:01 -0600 |
commit | a38ed141c1f33ecdad99b322acb1ae07b30a5da2 (patch) | |
tree | c6555946e2575a6bcb0ae7642673257954e38ac1 /src/commodity.h | |
parent | 3c3bda19d62eed165b9191dbf1adcb3e7c975356 (diff) | |
download | fork-ledger-a38ed141c1f33ecdad99b322acb1ae07b30a5da2.tar.gz fork-ledger-a38ed141c1f33ecdad99b322acb1ae07b30a5da2.tar.bz2 fork-ledger-a38ed141c1f33ecdad99b322acb1ae07b30a5da2.zip |
Switched to Boost.PropertyTree for XML generation
Diffstat (limited to 'src/commodity.h')
-rw-r--r-- | src/commodity.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commodity.h b/src/commodity.h index bfbabe6b..82be0ee8 100644 --- a/src/commodity.h +++ b/src/commodity.h @@ -346,8 +346,8 @@ inline std::ostream& operator<<(std::ostream& out, const commodity_t& comm) { return out; } -void to_xml(std::ostream& out, const commodity_t& comm, - bool commodity_details = false); +void put_commodity(property_tree::ptree& pt, const commodity_t& comm, + bool commodity_details = false); } // namespace ledger |