From 2345f48094a71b2611fc48452f9076ba1506e241 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 20 May 2012 15:25:10 -0500 Subject: Changed all ASSERTS_ON -> !NO_ASSERTS --- src/amount.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/amount.cc') 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 -- cgit v1.2.3