diff options
author | John Wiegley <johnw@newartisans.com> | 2009-10-28 01:58:41 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-10-28 01:58:41 -0400 |
commit | a3a40994d25164b57ed4ae8908e1a9cc7ba3b208 (patch) | |
tree | 65eadaf26de18fe8e9bfa713fa1c58e062181e67 /src/amount.cc | |
parent | 8b3a75fbbf39e01fa058c3f9552b06363ed6a75a (diff) | |
download | fork-ledger-a3a40994d25164b57ed4ae8908e1a9cc7ba3b208.tar.gz fork-ledger-a3a40994d25164b57ed4ae8908e1a9cc7ba3b208.tar.bz2 fork-ledger-a3a40994d25164b57ed4ae8908e1a9cc7ba3b208.zip |
Added some whitespace for clarity
Diffstat (limited to 'src/amount.cc')
-rw-r--r-- | src/amount.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amount.cc b/src/amount.cc index 5aa985c8..a6788af9 100644 --- a/src/amount.cc +++ b/src/amount.cc @@ -107,6 +107,7 @@ void amount_t::initialize(shared_ptr<commodity_pool_t> pool) mpq_init(tempq); mpfr_init(tempf); mpfr_init(tempfb); + is_initialized = true; } current_pool = pool; @@ -126,6 +127,7 @@ void amount_t::shutdown() mpq_clear(tempq); mpfr_clear(tempf); mpfr_clear(tempfb); + is_initialized = false; } } |