summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-12 03:06:30 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-12 03:06:30 -0400
commitbb243e2c5e68a04d0da4c8c20a74b5b8acf7ecdb (patch)
tree2206ba35c1077b094d8aa1fbaa1fcb3e0bfe5c21 /src
parentdc68903bb219c3fdaa17e2aa78a7ee5edfd74f0b (diff)
downloadfork-ledger-bb243e2c5e68a04d0da4c8c20a74b5b8acf7ecdb.tar.gz
fork-ledger-bb243e2c5e68a04d0da4c8c20a74b5b8acf7ecdb.tar.bz2
fork-ledger-bb243e2c5e68a04d0da4c8c20a74b5b8acf7ecdb.zip
Fixed a typo which was causing all boolean values to show as "false".
Diffstat (limited to 'src')
-rw-r--r--src/value.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/value.cc b/src/value.cc
index e7f726ce..bcd00e0b 100644
--- a/src/value.cc
+++ b/src/value.cc
@@ -58,13 +58,13 @@ value_t::storage_t& value_t::storage_t::operator=(const value_t::storage_t& rhs)
void value_t::initialize()
{
- true_value = new storage_t;
- true_value->type = BOOLEAN;
- boost::get<bool>(true_value->data) = true;
+ true_value = new storage_t;
+ true_value->type = BOOLEAN;
+ true_value->data = true;
- false_value = new storage_t;
+ false_value = new storage_t;
false_value->type = BOOLEAN;
- boost::get<bool>(true_value->data) = false;
+ false_value->data = false;
}
void value_t::shutdown()