diff options
Diffstat (limited to 'src/filters.cc')
-rw-r--r-- | src/filters.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/filters.cc b/src/filters.cc index 34df2056..3a975920 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -891,7 +891,9 @@ void subtotal_posts::operator()(post_t& post) std::pair<values_map::iterator, bool> result = #endif values.insert(values_pair(acct->fullname(), acct_value_t(acct, temp))); +#if defined(DEBUG_ON) assert(result.second); +#endif } else { post.add_to_value((*i).second.value, amount_expr); } |