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/mask.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/mask.h') diff --git a/src/mask.h b/src/mask.h index 15929b2e..78124d06 100644 --- a/src/mask.h +++ b/src/mask.h @@ -150,10 +150,8 @@ inline std::ostream& operator<<(std::ostream& out, const mask_t& mask) { return out; } -inline void to_xml(std::ostream& out, const mask_t& mask) -{ - push_xml x(out, "mask"); - out << x.guard(mask.str()); +inline void put_mask(property_tree::ptree& pt, const mask_t& mask) { + pt.put("mask", mask.str()); } } // namespace ledger -- cgit v1.2.3