From 9c9a34388a0697c4c4c4bd126ec8dd7e1244cd48 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 4 Aug 2008 16:24:41 -0400 Subject: First round of work to get the balance report working again. --- value.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'value.cc') diff --git a/value.cc b/value.cc index 2569c237..ea52af1f 100644 --- a/value.cc +++ b/value.cc @@ -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(); -- cgit v1.2.3