From 06365aac05bb77deb7ef2e6f82d7b6806ee77f92 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 27 Feb 2009 02:35:51 -0400 Subject: Fixed the way item state is parsed and managed --- src/post.cc | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/post.cc') diff --git a/src/post.cc b/src/post.cc index 8293bfe4..5c0d98e7 100644 --- a/src/post.cc +++ b/src/post.cc @@ -102,17 +102,6 @@ optional post_t::effective_date() const return date; } -item_t::state_t post_t::state() const -{ - if (xact) { - state_t xact_state = xact->state(); - if ((_state == UNCLEARED && xact_state != UNCLEARED) || - (_state == PENDING && xact_state == CLEARED)) - return xact_state; - } - return _state; -} - namespace { value_t get_this(post_t& post) { return value_t(static_cast(&post)); -- cgit v1.2.3