From 9e80a6fbcc837c0bfc3f5846347da1a25364ba44 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 2 May 2007 03:04:55 +0000 Subject: Got things compiling with boost/operators.hpp --- tests/numerics/CommodityAmount.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/numerics') diff --git a/tests/numerics/CommodityAmount.cc b/tests/numerics/CommodityAmount.cc index 2f676697..ffedbdac 100644 --- a/tests/numerics/CommodityAmount.cc +++ b/tests/numerics/CommodityAmount.cc @@ -183,7 +183,7 @@ void CommodityAmountTestCase::testEquality() amount_t x9 = "123.45€"; amount_t x10 = "-123.45€"; - assertTrue(x0.null()); + assertTrue(x0.is_null()); assertTrue(x0.zero()); assertTrue(x0.realzero()); assertTrue(x0.sign() == 0); -- cgit v1.2.3