diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-04 16:24:41 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-04 16:24:41 -0400 |
commit | 9c9a34388a0697c4c4c4bd126ec8dd7e1244cd48 (patch) | |
tree | a06ae88d3464a2fd6c4a3e184e7973768cf0d392 /value.cc | |
parent | 966b231f23a0c74db105784ba1291c860ced483e (diff) | |
download | fork-ledger-9c9a34388a0697c4c4c4bd126ec8dd7e1244cd48.tar.gz fork-ledger-9c9a34388a0697c4c4c4bd126ec8dd7e1244cd48.tar.bz2 fork-ledger-9c9a34388a0697c4c4c4bd126ec8dd7e1244cd48.zip |
First round of work to get the balance report working again.
Diffstat (limited to 'value.cc')
-rw-r--r-- | value.cc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -835,6 +835,9 @@ value_t& value_t::operator/=(const value_t& val) bool value_t::operator==(const value_t& val) const { switch (type()) { + case VOID: + return val.type() == VOID; + case BOOLEAN: if (val.is_boolean()) return as_boolean() == val.as_boolean(); |