diff options
author | John Wiegley <johnw@newartisans.com> | 2009-03-04 04:29:10 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-03-04 04:29:10 -0400 |
commit | 2d63c9364af57c732003afc7adddeb8ce62a1988 (patch) | |
tree | 8b5ac531fdebe6e25c77b6fefc41b3d0bfec58a9 /src/timelog.cc | |
parent | dcac3064670e6b4f4b8759d9adf54e8569ec4786 (diff) | |
download | fork-ledger-2d63c9364af57c732003afc7adddeb8ce62a1988.tar.gz fork-ledger-2d63c9364af57c732003afc7adddeb8ce62a1988.tar.bz2 fork-ledger-2d63c9364af57c732003afc7adddeb8ce62a1988.zip |
Changed many assert() calls to VERIFY()
Diffstat (limited to 'src/timelog.cc')
-rw-r--r-- | src/timelog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timelog.cc b/src/timelog.cc index 3fe4a6d1..68e1ab79 100644 --- a/src/timelog.cc +++ b/src/timelog.cc @@ -89,7 +89,7 @@ namespace { std::sprintf(buf, "%lds", long((when - event.checkin).total_seconds())); amount_t amt; amt.parse(buf); - assert(amt.valid()); + VERIFY(amt.valid()); post_t * post = new post_t(event.account, amt, POST_VIRTUAL); post->set_state(item_t::CLEARED); |