summaryrefslogtreecommitdiff
path: root/src/xact.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xact.h')
-rw-r--r--src/xact.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xact.h b/src/xact.h
index 6f35a071..174a8cea 100644
--- a/src/xact.h
+++ b/src/xact.h
@@ -186,8 +186,8 @@ struct auto_xact_finalizer_t : public xact_finalizer_t
class period_xact_t : public xact_base_t
{
public:
- interval_t period;
- string period_string;
+ date_interval_t period;
+ string period_string;
period_xact_t() {
TRACE_CTOR(period_xact_t, "");
@@ -206,7 +206,7 @@ class period_xact_t : public xact_base_t
}
virtual bool valid() const {
- return period;
+ return period.is_valid();
}
};