summaryrefslogtreecommitdiff
path: root/balance.h
diff options
context:
space:
mode:
Diffstat (limited to 'balance.h')
-rw-r--r--balance.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/balance.h b/balance.h
index e671192f..8eae567d 100644
--- a/balance.h
+++ b/balance.h
@@ -391,6 +391,7 @@ inline balance_t abs(const balance_t& bal) {
inline std::ostream& operator<<(std::ostream& out, const balance_t& bal) {
bal.write(out, 12);
+ return out;
}
@@ -762,6 +763,7 @@ inline balance_pair_t abs(const balance_pair_t& bal_pair) {
inline std::ostream& operator<<(std::ostream& out,
const balance_pair_t& bal_pair) {
bal_pair.quantity.write(out, 12);
+ return out;
}
} // namespace ledger