summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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>);