From 2d941730b1c60342be5b108d2d654723b3b7c2cb Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 4 Feb 2009 19:55:27 -0400 Subject: Largely removed all of Ledger's use of global variables, for the REPL's sake. --- src/balance.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/balance.h') 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 -- cgit v1.2.3