summaryrefslogtreecommitdiff
path: root/src/account.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2013-05-23 03:23:38 -0500
committerJohn Wiegley <johnw@newartisans.com>2013-05-23 03:23:49 -0500
commita79cf36c64efb9473b08f8af7c9236871f414f49 (patch)
treeca6cc13dba0d82427210aeeef647deefa5425409 /src/account.cc
parent30a7a6800c0e409f647b9bcfa067879a5f317dba (diff)
downloadfork-ledger-a79cf36c64efb9473b08f8af7c9236871f414f49.tar.gz
fork-ledger-a79cf36c64efb9473b08f8af7c9236871f414f49.tar.bz2
fork-ledger-a79cf36c64efb9473b08f8af7c9236871f414f49.zip
Fix #784
Diffstat (limited to 'src/account.cc')
-rw-r--r--src/account.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/account.cc b/src/account.cc
index c3fc80f1..58812db9 100644
--- a/src/account.cc
+++ b/src/account.cc
@@ -380,9 +380,7 @@ expr_t::ptr_op_t account_t::lookup(const symbol_t::kind_t kind,
break;
case 'd':
- if (fn_name == "date")
- return WRAP_FUNCTOR(get_wrapper<&get_latest>);
- else if (fn_name == "depth")
+ if (fn_name == "depth")
return WRAP_FUNCTOR(get_wrapper<&get_depth>);
else if (fn_name == "depth_spacer")
return WRAP_FUNCTOR(get_wrapper<&get_depth_spacer>);