summaryrefslogtreecommitdiff
path: root/src/balance.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-06-15 22:55:17 +0100
committerJohn Wiegley <johnw@newartisans.com>2009-06-15 22:55:17 +0100
commit49f5465adb2d71ad7a8ecf4e5c974b2b2c4721f4 (patch)
treee0769c9a4c03946557c6a6fb5751553e8aa780aa /src/balance.h
parente97b59b0061f271476cdaf959f9530f4d737864b (diff)
downloadfork-ledger-49f5465adb2d71ad7a8ecf4e5c974b2b2c4721f4.tar.gz
fork-ledger-49f5465adb2d71ad7a8ecf4e5c974b2b2c4721f4.tar.bz2
fork-ledger-49f5465adb2d71ad7a8ecf4e5c974b2b2c4721f4.zip
Temporarily stubbed out an inaccurate assert
Diffstat (limited to 'src/balance.h')
-rw-r--r--src/balance.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/balance.h b/src/balance.h
index 15657c5e..85c6b1ff 100644
--- a/src/balance.h
+++ b/src/balance.h
@@ -511,8 +511,10 @@ public:
bool valid() const {
foreach (const amounts_map::value_type& pair, amounts)
- if (! pair.second.valid())
+ if (! pair.second.valid()) {
+ DEBUG("ledger.validate", "balance_t: ! pair.second.valid()");
return false;
+ }
return true;
}
};