summaryrefslogtreecommitdiff
path: root/src/xact.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-04-12 02:39:23 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-04-13 15:16:27 -0500
commit1e572d508d27738142dd5e80ea6745043eed8f18 (patch)
tree7bceb132c69a10316473a8c0972936198e1124a0 /src/xact.cc
parent6a5360e2b570d21b321f901ca5584780a6111121 (diff)
downloadfork-ledger-1e572d508d27738142dd5e80ea6745043eed8f18.tar.gz
fork-ledger-1e572d508d27738142dd5e80ea6745043eed8f18.tar.bz2
fork-ledger-1e572d508d27738142dd5e80ea6745043eed8f18.zip
Add 'data' member to account/journal objects
Diffstat (limited to 'src/xact.cc')
-rw-r--r--src/xact.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xact.cc b/src/xact.cc
index 8085b104..3f4b753c 100644
--- a/src/xact.cc
+++ b/src/xact.cc
@@ -487,6 +487,9 @@ bool xact_base_t::verify()
xact_t::xact_t(const xact_t& e)
: xact_base_t(e), code(e.code), payee(e.payee)
+#ifdef DOCUMENT_MODEL
+ , data(NULL)
+#endif
{
TRACE_CTOR(xact_t, "copy");
}