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, 6 insertions, 0 deletions
diff --git a/src/mask.h b/src/mask.h
index a7dea7cf..18f1893d 100644
--- a/src/mask.h
+++ b/src/mask.h
@@ -146,6 +146,12 @@ 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.expr.str());
+}
+
} // namespace ledger
#endif // _MASK_H