diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-28 03:02:31 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-28 03:02:31 -0500 |
commit | 902ab72eb44296ff41a78fcda15a26a99ef87b8d (patch) | |
tree | daca8f68eea6f55a7e03d9fe21e63c85d2a2afc8 /src/post.h | |
parent | 362fad5925ba4e828b80bd5a90aff825296e6ad0 (diff) | |
download | fork-ledger-902ab72eb44296ff41a78fcda15a26a99ef87b8d.tar.gz fork-ledger-902ab72eb44296ff41a78fcda15a26a99ef87b8d.tar.bz2 fork-ledger-902ab72eb44296ff41a78fcda15a26a99ef87b8d.zip |
Forgot to copy two members in post_t's copy-ctor
Diffstat (limited to 'src/post.h')
-rw-r--r-- | src/post.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -73,8 +73,7 @@ public: post_t(account_t * _account = NULL, flags_t _flags = ITEM_NORMAL) - : item_t(_flags), - xact(NULL), account(_account) + : item_t(_flags), xact(NULL), account(_account) { TRACE_CTOR(post_t, "account_t *, flags_t"); } @@ -82,8 +81,7 @@ public: const amount_t& _amount, flags_t _flags = ITEM_NORMAL, const optional<string>& _note = none) - : item_t(_flags, _note), - xact(NULL), account(_account), amount(_amount) + : item_t(_flags, _note), xact(NULL), account(_account), amount(_amount) { TRACE_CTOR(post_t, "account_t *, const amount_t&, flags_t, const optional<string>&"); } @@ -94,6 +92,8 @@ public: amount(post.amount), cost(post.cost), assigned_amount(post.assigned_amount), + checkin(post.checkin), + checkout(post.checkout), xdata_(post.xdata_) { copy_details(post); |