summaryrefslogtreecommitdiff
path: root/src/value.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-10 20:05:20 -1000
committerJohn Wiegley <johnw@newartisans.com>2012-02-17 15:09:31 -0600
commit95717c9494d804022592d59dc27ddf2139d062be (patch)
tree86a37e6a156f5e28fe4a33a7939776dc32babb46 /src/value.cc
parent8f3178191cbb652782d99e5b2c25fa7157ebf1c6 (diff)
downloadfork-ledger-95717c9494d804022592d59dc27ddf2139d062be.tar.gz
fork-ledger-95717c9494d804022592d59dc27ddf2139d062be.tar.bz2
fork-ledger-95717c9494d804022592d59dc27ddf2139d062be.zip
Added a missing case clause
Diffstat (limited to 'src/value.cc')
-rw-r--r--src/value.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/value.cc b/src/value.cc
index 1ecfffe7..89a0d6d3 100644
--- a/src/value.cc
+++ b/src/value.cc
@@ -965,6 +965,7 @@ bool value_t::is_less_than(const value_t& val) const
bool value_t::is_greater_than(const value_t& val) const
{
switch (type()) {
+ case BOOLEAN:
if (val.is_boolean()) {
if (as_boolean()) {
if (! val.as_boolean())