summaryrefslogtreecommitdiff
path: root/src/balance.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-04 19:55:27 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-04 19:55:27 -0400
commit2d941730b1c60342be5b108d2d654723b3b7c2cb (patch)
tree6a3f4b7305857e85d2684670492007bafc3668d0 /src/balance.h
parent73cf3b01fbd50c3a8a4fd96ff69643c28394d8fe (diff)
downloadfork-ledger-2d941730b1c60342be5b108d2d654723b3b7c2cb.tar.gz
fork-ledger-2d941730b1c60342be5b108d2d654723b3b7c2cb.tar.bz2
fork-ledger-2d941730b1c60342be5b108d2d654723b3b7c2cb.zip
Largely removed all of Ledger's use of global variables, for the REPL's sake.
Diffstat (limited to 'src/balance.h')
-rw-r--r--src/balance.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/balance.h b/src/balance.h
index d1e4301b..a0231717 100644
--- a/src/balance.h
+++ b/src/balance.h
@@ -446,10 +446,7 @@ public:
* their commodity annotations likewise stripped. See
* amount_t::strip_annotations for more details.
*/
- balance_t
- strip_annotations(const bool keep_price = amount_t::keep_price,
- const bool keep_date = amount_t::keep_date,
- const bool keep_tag = amount_t::keep_tag) const;
+ balance_t strip_annotations(const keep_details_t& what_to_keep) const;
/**
* Printing methods. A balance may be output to a stream using the