summaryrefslogtreecommitdiff
path: root/src/xact.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xact.h')
-rw-r--r--src/xact.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xact.h b/src/xact.h
index d7e87748..f06f2136 100644
--- a/src/xact.h
+++ b/src/xact.h
@@ -106,7 +106,7 @@ public:
TRACE_DTOR(xact_t);
}
- virtual optional<date_t> actual_date() const;
+ virtual date_t date() const;
virtual optional<date_t> effective_date() const;
virtual state_t state() const;
@@ -203,7 +203,7 @@ public:
date_t reported_date() const {
if (xdata_ && is_valid(xdata_->date))
return xdata_->date;
- return *date();
+ return date();
}
account_t * reported_account() {