From f27d7776ca8fb29c5a523c859d64f3c570ce8985 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 4 Jan 2017 12:02:15 -0800 Subject: Item sorting should have access to the report scope --- src/filters.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/filters.cc') diff --git a/src/filters.cc b/src/filters.cc index 8aa1218b..3d6792a6 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -154,7 +154,7 @@ void truncate_xacts::operator()(post_t& post) void sort_posts::post_accumulated_posts() { std::stable_sort(posts.begin(), posts.end(), - compare_items(sort_order)); + compare_items(sort_order, report)); foreach (post_t * post, posts) { post->xdata().drop_flags(POST_EXT_SORT_CALC); -- cgit v1.2.3