summaryrefslogtreecommitdiff
path: root/src/mask.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mask.h')
-rw-r--r--src/mask.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mask.h b/src/mask.h
index f2c0e004..2779c428 100644
--- a/src/mask.h
+++ b/src/mask.h
@@ -63,6 +63,11 @@ public:
void write(std::ostream& out) const;
};
+inline std::ostream& operator<<(std::ostream& out, const mask_t& mask) {
+ out << mask.expr.str();
+ return out;
+}
+
} // namespace ledger
#endif // _MASK_H