summaryrefslogtreecommitdiff
path: root/src/xact.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-09 14:54:58 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-09 14:54:58 -0400
commit555e953dc17038039cf0bc253ef74b961de0b0f2 (patch)
tree293277d0aca602b97f818fb3a3c77824ed5a2626 /src/xact.h
parent3f7104e9bec0bbbf437ef77ebaed6e361099fa40 (diff)
downloadfork-ledger-555e953dc17038039cf0bc253ef74b961de0b0f2.tar.gz
fork-ledger-555e953dc17038039cf0bc253ef74b961de0b0f2.tar.bz2
fork-ledger-555e953dc17038039cf0bc253ef74b961de0b0f2.zip
Was failing to copy over the xact's assigned_amount when copy constructing.
Diffstat (limited to 'src/xact.h')
-rw-r--r--src/xact.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xact.h b/src/xact.h
index 5beb4d9c..315c8f21 100644
--- a/src/xact.h
+++ b/src/xact.h
@@ -98,6 +98,7 @@ public:
account(xact.account),
amount(xact.amount),
cost(xact.cost),
+ assigned_amount(xact.assigned_amount),
xdata_(xact.xdata_) // jww (2008-07-19): What are the copy semantics?
{
TRACE_CTOR(xact_t, "copy");