diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-03 19:06:40 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-03 19:06:56 -0400 |
commit | 2e9c14ef30fb8c811c30cab4c192c59462a431ab (patch) | |
tree | bdf62ed283894376db52ffaea78c6f0c21c9d9ed /src/xact.h | |
parent | bee8e501664decec2bbae63df58ab1fedc240354 (diff) | |
download | ledger-2e9c14ef30fb8c811c30cab4c192c59462a431ab.tar.gz ledger-2e9c14ef30fb8c811c30cab4c192c59462a431ab.tar.bz2 ledger-2e9c14ef30fb8c811c30cab4c192c59462a431ab.zip |
Don't store the amount expression object in transactions.
This is unnecessary since binary caching is no longer being used.
Diffstat (limited to 'src/xact.h')
-rw-r--r-- | src/xact.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -73,11 +73,17 @@ public: account_t * account; amount_t amount; // can be null until finalization +#if defined(STORE_XACT_EXPRS) optional<expr_t> amount_expr; +#endif optional<amount_t> cost; +#if defined(STORE_XACT_EXPRS) optional<expr_t> cost_expr; +#endif optional<amount_t> assigned_amount; +#if defined(STORE_XACT_EXPRS) optional<expr_t> assigned_amount_expr; +#endif xact_t(account_t * _account = NULL, flags_t _flags = ITEM_NORMAL) |