diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-05 16:15:09 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-05 16:15:09 -0400 |
commit | 290cac7b84b60305e185c140645c9bac2ca9fb0e (patch) | |
tree | c389da2eed81612ffb3868f61c31fa2534855fe1 /src/xact.cc | |
parent | f8bfbf8c250fa24bc9e26b9bf1eb64815a5a29ee (diff) | |
parent | 1417b40fdf0a92a85ab01f233c0ae076079901a2 (diff) | |
download | fork-ledger-290cac7b84b60305e185c140645c9bac2ca9fb0e.tar.gz fork-ledger-290cac7b84b60305e185c140645c9bac2ca9fb0e.tar.bz2 fork-ledger-290cac7b84b60305e185c140645c9bac2ca9fb0e.zip |
Merge branch 'next'
Diffstat (limited to 'src/xact.cc')
-rw-r--r-- | src/xact.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xact.cc b/src/xact.cc index 569e5869..6c10ac04 100644 --- a/src/xact.cc +++ b/src/xact.cc @@ -62,10 +62,12 @@ xact_base_t::~xact_base_t() void xact_base_t::add_post(post_t * post) { +#if !defined(NO_ASSERTS) // You can add temporary postings to transactions, but not real postings to // temporary transactions. if (! post->has_flags(ITEM_TEMP)) assert(! has_flags(ITEM_TEMP)); +#endif posts.push_back(post); } |