From f1257cbc3eaddc075dcb4f9ebff17e4ea416c4ed Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 30 Jan 2009 16:19:31 -0400 Subject: Removed all dependency on gdtoa. --- src/balance.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/balance.h') diff --git a/src/balance.h b/src/balance.h index 37641836..8f565e78 100644 --- a/src/balance.h +++ b/src/balance.h @@ -115,13 +115,11 @@ public: if (! amt.is_realzero()) amounts.insert(amounts_map::value_type(&amt.commodity(), amt)); } -#ifdef HAVE_GDTOA balance_t(const double val) { TRACE_CTOR(balance_t, "const double"); amounts.insert (amounts_map::value_type(amount_t::current_pool->null_commodity, val)); } -#endif balance_t(const unsigned long val) { TRACE_CTOR(balance_t, "const unsigned long"); amounts.insert @@ -236,11 +234,9 @@ public: virtual balance_t& operator*=(const amount_t& amt); -#ifdef HAVE_GDTOA balance_t& operator*=(const double val) { return *this *= amount_t(val); } -#endif balance_t& operator*=(const unsigned long val) { return *this *= amount_t(val); } @@ -250,11 +246,9 @@ public: virtual balance_t& operator/=(const amount_t& amt); -#ifdef HAVE_GDTOA balance_t& operator/=(const double val) { return *this /= amount_t(val); } -#endif balance_t& operator/=(const unsigned long val) { return *this /= amount_t(val); } -- cgit v1.2.3