From df9ae3ab9b37fde803f26c6bc4eaadfd67fc1d07 Mon Sep 17 00:00:00 2001 From: Joe Gallo Date: Tue, 26 Aug 2014 09:07:57 -0400 Subject: fix "no viable conversion from ... to 'bool'" --- src/times.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/times.h') diff --git a/src/times.h b/src/times.h index 2a5b9277..d2f7bb19 100644 --- a/src/times.h +++ b/src/times.h @@ -568,7 +568,7 @@ public: void stabilize(const optional& date = none); bool is_valid() const { - return start; + return start != NULL; } /** Find the current or next period containing date. Returns false if -- cgit v1.2.3