summaryrefslogtreecommitdiff
path: root/src/xact.cc
diff options
context:
space:
mode:
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");
}