From 944c63e6f26d1f05ba6f63c60f510d3796872f3e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 23 Feb 2009 19:07:30 -0400 Subject: The Great Renaming, Part II The last commit did not contain the majority of changes because of a slight mishap. This contains the real changeset. --- src/compare.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/compare.cc') diff --git a/src/compare.cc b/src/compare.cc index 79e49461..d716bcda 100644 --- a/src/compare.cc +++ b/src/compare.cc @@ -71,21 +71,21 @@ void compare_items::find_sort_values(std::list& sort_values, } template <> -bool compare_items::operator()(xact_t * left, xact_t * right) +bool compare_items::operator()(post_t * left, post_t * right) { assert(left); assert(right); - xact_t::xdata_t& lxdata(left->xdata()); - if (! lxdata.has_flags(XACT_EXT_SORT_CALC)) { + post_t::xdata_t& lxdata(left->xdata()); + if (! lxdata.has_flags(POST_EXT_SORT_CALC)) { find_sort_values(lxdata.sort_values, left); - lxdata.add_flags(XACT_EXT_SORT_CALC); + lxdata.add_flags(POST_EXT_SORT_CALC); } - xact_t::xdata_t& rxdata(right->xdata()); - if (! rxdata.has_flags(XACT_EXT_SORT_CALC)) { + post_t::xdata_t& rxdata(right->xdata()); + if (! rxdata.has_flags(POST_EXT_SORT_CALC)) { find_sort_values(rxdata.sort_values, right); - rxdata.add_flags(XACT_EXT_SORT_CALC); + rxdata.add_flags(POST_EXT_SORT_CALC); } return sort_value_is_less_than(lxdata.sort_values, rxdata.sort_values); -- cgit v1.2.3