summaryrefslogtreecommitdiff
path: root/src/xact.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-01 21:14:34 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-01 21:14:34 -0500
commit52d1441646969797d4a0582c6344da46f56904e1 (patch)
treee95d45711df15ec2f65c5783c30ef159ffbf4fe6 /src/xact.cc
parentcaff01ba75d5929eeb502bfc2e73d28fceec60c1 (diff)
downloadfork-ledger-52d1441646969797d4a0582c6344da46f56904e1.tar.gz
fork-ledger-52d1441646969797d4a0582c6344da46f56904e1.tar.bz2
fork-ledger-52d1441646969797d4a0582c6344da46f56904e1.zip
Fixed copy constructors for transactions
Diffstat (limited to 'src/xact.cc')
-rw-r--r--src/xact.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xact.cc b/src/xact.cc
index 3670cb94..3291c5be 100644
--- a/src/xact.cc
+++ b/src/xact.cc
@@ -39,8 +39,8 @@
namespace ledger {
-xact_base_t::xact_base_t(const xact_base_t&)
- : item_t(), journal(NULL)
+xact_base_t::xact_base_t(const xact_base_t& xact_base)
+ : item_t(xact_base), journal(xact_base.journal)
{
TRACE_CTOR(xact_base_t, "copy");
}