From 9d61d3d621606f0158a048628c866a692465d886 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 4 Feb 2010 19:47:16 -0500 Subject: Added actual_date() methods for items --- src/item.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/item.h') diff --git a/src/item.h b/src/item.h index 8250ab6e..f23350fc 100644 --- a/src/item.h +++ b/src/item.h @@ -173,6 +173,10 @@ public: return *effective; return *_date; } + virtual date_t actual_date() const { + assert(_date); + return *_date; + } virtual optional effective_date() const { return _date_eff; } -- cgit v1.2.3