From 9e9f25b566987c340a728ab473a34670969fbeee Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 27 Jul 2008 01:03:41 -0400 Subject: 'make check' is now working again. Also, conversion from amount_t to/from double has been disabled, because I am no longer packaging the gdtoa library with Ledger (because double conversion really has nothing to do with what Ledger does). If you wish to use it, you can find gdtoa in cpp-rewrite-2006, under a sub-directory of the same name. --- balpair.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'balpair.h') diff --git a/balpair.h b/balpair.h index 53acb701..0303f6da 100644 --- a/balpair.h +++ b/balpair.h @@ -109,9 +109,11 @@ public: : balance_t(amt), cost(cost_amt) { TRACE_CTOR(balance_pair_t, "const amount_t&, const amount_t&"); } +#ifdef HAVE_GDTOA balance_pair_t(const double val) : balance_t(val) { TRACE_CTOR(balance_pair_t, "const double"); } +#endif balance_pair_t(const unsigned long val) : balance_t(val) { TRACE_CTOR(balance_pair_t, "const unsigned long"); } -- cgit v1.2.3