summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h4
1 files changed, 4 insertions, 0 deletions
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<date_t> effective_date() const {
return _date_eff;
}