summaryrefslogtreecommitdiff
path: root/src/draft.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-04-15 01:17:01 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-04-15 01:17:01 -0500
commitee641f353c9a2216533800464d26afe86f1b028e (patch)
tree2f7b290d5e6ea5c395ff294d4c911a4f942fe6f6 /src/draft.h
parent1ad826c2bccabad844156a181735dd960f87d174 (diff)
downloadfork-ledger-ee641f353c9a2216533800464d26afe86f1b028e.tar.gz
fork-ledger-ee641f353c9a2216533800464d26afe86f1b028e.tar.bz2
fork-ledger-ee641f353c9a2216533800464d26afe86f1b028e.zip
Resolve some issues with proof builds
Diffstat (limited to 'src/draft.h')
-rw-r--r--src/draft.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/draft.h b/src/draft.h
index 46aa26e1..9023e6da 100644
--- a/src/draft.h
+++ b/src/draft.h
@@ -81,6 +81,15 @@ class draft_t : public expr_base_t<value_t>
xact_template_t() {
TRACE_CTOR(xact_template_t, "");
}
+ xact_template_t(const xact_template_t& other)
+ : date(other.date),
+ code(other.code),
+ note(other.note),
+ payee_mask(other.payee_mask),
+ posts(other.posts)
+ {
+ TRACE_CTOR(xact_template_t, "copy");
+ }
~xact_template_t() throw() {
TRACE_DTOR(xact_template_t);
}