summaryrefslogtreecommitdiff
path: root/src/post.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-24 02:23:20 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-24 02:23:20 -0400
commit625b94cf04d083a2eca50e5630d8f7b551781742 (patch)
tree0c45d5b5cae5daeaa5fa6ab91c4bc1de31d90b6b /src/post.cc
parentcb751913ef85305f2f13cd3a9af80adc00278627 (diff)
downloadfork-ledger-625b94cf04d083a2eca50e5630d8f7b551781742.tar.gz
fork-ledger-625b94cf04d083a2eca50e5630d8f7b551781742.tar.bz2
fork-ledger-625b94cf04d083a2eca50e5630d8f7b551781742.zip
Switched from using POST_AUTO to ITEM_GENERATED
Diffstat (limited to 'src/post.cc')
-rw-r--r--src/post.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/post.cc b/src/post.cc
index e87a1cbc..366af008 100644
--- a/src/post.cc
+++ b/src/post.cc
@@ -130,10 +130,6 @@ namespace {
return ! post.has_flags(POST_VIRTUAL);
}
- value_t get_actual(post_t& post) {
- return ! post.has_flags(POST_AUTO);
- }
-
value_t get_xact(post_t& post) {
return value_t(static_cast<scope_t *>(post.xact));
}
@@ -234,8 +230,6 @@ expr_t::ptr_op_t post_t::lookup(const string& name)
return WRAP_FUNCTOR(get_account);
else if (name == "account_base")
return WRAP_FUNCTOR(get_wrapper<&get_account_base>);
- else if (name == "actual")
- return WRAP_FUNCTOR(get_wrapper<&get_actual>);
break;
case 'c':