From a79cf36c64efb9473b08f8af7c9236871f414f49 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 23 May 2013 03:23:38 -0500 Subject: Fix #784 --- src/account.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/account.cc') 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>); -- cgit v1.2.3