diff options
Diffstat (limited to 'src/times.h')
-rw-r--r-- | src/times.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/times.h b/src/times.h index 2a5b9277..00007580 100644 --- a/src/times.h +++ b/src/times.h @@ -568,7 +568,11 @@ public: void stabilize(const optional<date_t>& date = none); bool is_valid() const { +#if BOOST_VERSION >= 105600 + return start != NULL; +#else return start; +#endif } /** Find the current or next period containing date. Returns false if |