summaryrefslogtreecommitdiff
path: root/src/amount.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/amount.cc')
-rw-r--r--src/amount.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amount.cc b/src/amount.cc
index 9491efcd..6ecb3558 100644
--- a/src/amount.cc
+++ b/src/amount.cc
@@ -900,7 +900,7 @@ void amount_t::annotate(const annotation_t& details)
if (commodity_t * ann_comm =
this_base->pool().find_or_create(*this_base, details))
set_commodity(*ann_comm);
-#ifdef ASSERTS_ON
+#if !NO_ASSERTS
else
assert(false);
#endif