diff options
author | Michael Budde <mbudde@gmail.com> | 2018-01-01 06:18:24 -0600 |
---|---|---|
committer | Michael Budde <mbudde@gmail.com> | 2018-01-01 06:24:42 -0600 |
commit | a952e21b9f9382249b7cc6fb4a039703fe9fd391 (patch) | |
tree | 85b47e6b7e73e27382533170321db417ce09fffa /src/account.h | |
parent | 2767ca07d48c48b43ba1ae7b7f62d8320a2bb9e9 (diff) | |
download | fork-ledger-a952e21b9f9382249b7cc6fb4a039703fe9fd391.tar.gz fork-ledger-a952e21b9f9382249b7cc6fb4a039703fe9fd391.tar.bz2 fork-ledger-a952e21b9f9382249b7cc6fb4a039703fe9fd391.zip |
Initialize field in constructor
Should fix problem with garbage being read from this field causing some
test failures on my machine.
Diffstat (limited to 'src/account.h')
-rw-r--r-- | src/account.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/account.h b/src/account.h index e8f28596..1b97463d 100644 --- a/src/account.h +++ b/src/account.h @@ -205,7 +205,9 @@ public: posts_cleared_count(0), posts_last_7_count(0), posts_last_30_count(0), - posts_this_month_count(0) { + posts_this_month_count(0), + latest_checkout_cleared(false) + { TRACE_CTOR(account_t::xdata_t::details_t, ""); } // A copy copies nothing @@ -218,7 +220,8 @@ public: posts_cleared_count(0), posts_last_7_count(0), posts_last_30_count(0), - posts_this_month_count(0) + posts_this_month_count(0), + latest_checkout_cleared(false) { TRACE_CTOR(account_t::xdata_t::details_t, "copy"); } |