diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-06 23:36:32 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-06 23:36:32 -0400 |
commit | cdcd52dbafc747b01a626cfd306209187a35b5fb (patch) | |
tree | eaaa7ec47764cb96a90e9ea8368326ba04790890 /src/xact.h | |
parent | 909f7b1aa343c84eccc4ca89c19f632486cf3f43 (diff) | |
download | fork-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.h | 24 |
1 files changed, 0 insertions, 24 deletions
@@ -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 |