summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
authorJoe Gallo <joegallo@gmail.com>2014-08-26 09:07:57 -0400
committerJoe Gallo <joegallo@gmail.com>2014-08-26 09:07:57 -0400
commitdf9ae3ab9b37fde803f26c6bc4eaadfd67fc1d07 (patch)
treec9ebf25e8dad05241484992f46785ff7765c78ae /src/item.h
parentfa46f3442d2fa9e462c14564aecbfe34c16d18b2 (diff)
downloadfork-ledger-df9ae3ab9b37fde803f26c6bc4eaadfd67fc1d07.tar.gz
fork-ledger-df9ae3ab9b37fde803f26c6bc4eaadfd67fc1d07.tar.bz2
fork-ledger-df9ae3ab9b37fde803f26c6bc4eaadfd67fc1d07.zip
fix "no viable conversion from ... to 'bool'"
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.h b/src/item.h
index beb32a04..d194ac07 100644
--- a/src/item.h
+++ b/src/item.h
@@ -191,7 +191,7 @@ public:
static bool use_aux_date;
virtual bool has_date() const {
- return _date;
+ return _date != NULL;
}
virtual date_t date() const {