From cdcd52dbafc747b01a626cfd306209187a35b5fb Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 6 Feb 2009 23:36:32 -0400 Subject: Removed the nearly unknown --descend and --descend-if options. --- src/xact.h | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'src/xact.h') 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 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& handler) const { - foreach (xact_t * xact, *component_xacts) - handler(*xact); - } -#endif }; // This variable holds optional "extended data" which is usually produced -- cgit v1.2.3