summaryrefslogtreecommitdiff
path: root/reconcile.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-08-02 22:45:35 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-08-02 22:45:35 -0400
commit5a90fe735772fd4d52216ae76ddad893bce177e6 (patch)
tree7f0f70fed0d3ae7deb5770a94ca451953b730625 /reconcile.cc
parent7b3c8c03c56fa90f8e110ed14ce3af27fb49b458 (diff)
downloadfork-ledger-5a90fe735772fd4d52216ae76ddad893bce177e6.tar.gz
fork-ledger-5a90fe735772fd4d52216ae76ddad893bce177e6.tar.bz2
fork-ledger-5a90fe735772fd4d52216ae76ddad893bce177e6.zip
Moved xact_xdata_t into xact_t itself, as a set of "extended data" that might
be gathered during reporting. Removed the references to accounts and such from the mask logic, which means that the value expression "acount =~ /foo/" is needed in place of just "/foo/".
Diffstat (limited to 'reconcile.cc')
-rw-r--r--reconcile.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/reconcile.cc b/reconcile.cc
index 12b66c8c..92068227 100644
--- a/reconcile.cc
+++ b/reconcile.cc
@@ -3,8 +3,8 @@
namespace ledger {
-#define xact_next(x) reinterpret_cast<xact_t *>(xact_xdata(*x).ptr)
-#define xact_next_ptr(x) reinterpret_cast<xact_t **>(&xact_xdata(*x).ptr)
+#define xact_next(x) reinterpret_cast<xact_t *>(x->xdata().ptr)
+#define xact_next_ptr(x) reinterpret_cast<xact_t **>(&x->xdata().ptr)
static bool search_for_balance(amount_t& amount,
xact_t ** prev, xact_t * next)