summaryrefslogtreecommitdiff
path: root/src/xact.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-06 23:36:32 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-06 23:36:32 -0400
commitcdcd52dbafc747b01a626cfd306209187a35b5fb (patch)
treeeaaa7ec47764cb96a90e9ea8368326ba04790890 /src/xact.h
parent909f7b1aa343c84eccc4ca89c19f632486cf3f43 (diff)
downloadfork-ledger-cdcd52dbafc747b01a626cfd306209187a35b5fb.tar.gz
fork-ledger-cdcd52dbafc747b01a626cfd306209187a35b5fb.tar.bz2
fork-ledger-cdcd52dbafc747b01a626cfd306209187a35b5fb.zip
Removed the nearly unknown --descend and --descend-if options.
Diffstat (limited to 'src/xact.h')
-rw-r--r--src/xact.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/xact.h b/src/xact.h
index f06f2136..ae5a2a19 100644
--- a/src/xact.h
+++ b/src/xact.h
@@ -137,8 +137,6 @@ public:
account_t * account;
void * ptr;
- optional<xacts_list> component_xacts;
-
xdata_t() : supports_flags<>(), account(NULL), ptr(NULL) {
TRACE_CTOR(xact_t::xdata_t, "");
}
@@ -156,28 +154,6 @@ public:
~xdata_t() throw() {
TRACE_DTOR(xact_t::xdata_t);
}
-
- void remember_xact(xact_t& xact) {
- if (! component_xacts)
- component_xacts = xacts_list();
- component_xacts->push_back(&xact);
- }
-
- bool has_component_xacts() const {
- return component_xacts && ! component_xacts->empty();
- }
-
- void copy_component_xacts(xacts_list& xacts) {
- foreach (xact_t * xact, xacts)
- remember_xact(*xact);
- }
-
-#if 0
- void walk_component_xacts(item_handler<xact_t>& handler) const {
- foreach (xact_t * xact, *component_xacts)
- handler(*xact);
- }
-#endif
};
// This variable holds optional "extended data" which is usually produced