summaryrefslogtreecommitdiff
path: root/balance.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-14 00:29:52 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-14 00:29:52 -0400
commit42298cefd5ae0b4f25d4075dc19486f2782f69f1 (patch)
treee95905da36b7964c5c81a3cce2f8bacd69c5fea8 /balance.h
parentc6b82f8359ef3b2ce5cc0dc57741f9f7c48c0e90 (diff)
downloadfork-ledger-42298cefd5ae0b4f25d4075dc19486f2782f69f1.tar.gz
fork-ledger-42298cefd5ae0b4f25d4075dc19486f2782f69f1.tar.bz2
fork-ledger-42298cefd5ae0b4f25d4075dc19486f2782f69f1.zip
optimized printing of amounts
Diffstat (limited to 'balance.h')
-rw-r--r--balance.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/balance.h b/balance.h
index 888dd13e..5390a15e 100644
--- a/balance.h
+++ b/balance.h
@@ -333,14 +333,11 @@ class balance_t
}
amount_t amount(const commodity_t * commodity = NULL) const;
-#if 0
- balance_t round() const;
-#endif
balance_t value(const std::time_t moment) const;
- void write(std::ostream& out,
- const int first_width,
- const int latter_width = -1) const;
+ void write(std::ostream& out,
+ const int first_width,
+ const int latter_width = -1) const;
};
inline balance_t abs(const balance_t& bal) {