From a952e21b9f9382249b7cc6fb4a039703fe9fd391 Mon Sep 17 00:00:00 2001 From: Michael Budde Date: Mon, 1 Jan 2018 06:18:24 -0600 Subject: Initialize field in constructor Should fix problem with garbage being read from this field causing some test failures on my machine. --- src/account.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/account.h') 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"); } -- cgit v1.2.3