summaryrefslogtreecommitdiff
path: root/src/mask.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mask.h')
-rw-r--r--src/mask.h6
1 files changed, 2 insertions, 4 deletions
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