summaryrefslogtreecommitdiff
path: root/src/transform.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-07 10:27:21 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:39 -0400
commitd8498372037a4d0c272547ae48046b2182bcd4b1 (patch)
treeea3f228c5b6b20d71456e47a418e383669925d5f /src/transform.cc
parenta71d48881e538630aa1d147d58365da84e6db91f (diff)
downloadfork-ledger-d8498372037a4d0c272547ae48046b2182bcd4b1.tar.gz
fork-ledger-d8498372037a4d0c272547ae48046b2182bcd4b1.tar.bz2
fork-ledger-d8498372037a4d0c272547ae48046b2182bcd4b1.zip
Major restructuring of the value_t class.
Diffstat (limited to 'src/transform.cc')
-rw-r--r--src/transform.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transform.cc b/src/transform.cc
index 4955e299..d13d9f7e 100644
--- a/src/transform.cc
+++ b/src/transform.cc
@@ -202,7 +202,7 @@ void split_transform::execute(xml::document_t * document)
switch (i->kind) {
case repitem_t::TRANSACTION:
- assert(0);
+ assert(false);
j = new xact_repitem_t(static_cast<xact_repitem_t *>(i)->xact);
break;
case repitem_t::ENTRY:
@@ -244,7 +244,7 @@ void merge_transform::execute(xml::document_t * document)
bool merge = false;
switch (i->kind) {
case repitem_t::TRANSACTION:
- assert(0);
+ assert(false);
break;
case repitem_t::ENTRY:
if (static_cast<entry_repitem_t *>(i)->entry ==