summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2013-05-19 02:51:47 -0500
committerJohn Wiegley <johnw@newartisans.com>2013-05-19 02:51:47 -0500
commitd13b7180bfbe9ce84db473e2c0044b43c973aa52 (patch)
tree8b3bfbe909116bf96719e3d7e261ee5ed0e7d05f
parent3656e692ff1bda057159d39654b7ba201cfc8645 (diff)
downloadfork-ledger-d13b7180bfbe9ce84db473e2c0044b43c973aa52.tar.gz
fork-ledger-d13b7180bfbe9ce84db473e2c0044b43c973aa52.tar.bz2
fork-ledger-d13b7180bfbe9ce84db473e2c0044b43c973aa52.zip
Add a missing member initializer to a copy constructor
Fixes #686
-rw-r--r--src/filters.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/filters.h b/src/filters.h
index 42ff2e5c..f256707b 100644
--- a/src/filters.h
+++ b/src/filters.h
@@ -655,7 +655,8 @@ protected:
TRACE_CTOR(acct_value_t, "account_t *, value_t&, bool, bool");
}
acct_value_t(const acct_value_t& av)
- : account(av.account), value(av.value), is_virtual(av.is_virtual) {
+ : account(av.account), value(av.value), is_virtual(av.is_virtual),
+ must_balance(av.must_balance) {
TRACE_CTOR(acct_value_t, "copy");
}
~acct_value_t() throw() {