diff options
author | John Wiegley <johnw@newartisans.com> | 2008-07-27 01:03:41 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-07-27 01:03:41 -0400 |
commit | 9e9f25b566987c340a728ab473a34670969fbeee (patch) | |
tree | e8d3463dd288dc3415cc8f4181086ae475a8a64d /balpair.h | |
parent | 713f89679070e2fe2aa529c4eade1f9efd697898 (diff) | |
download | fork-ledger-9e9f25b566987c340a728ab473a34670969fbeee.tar.gz fork-ledger-9e9f25b566987c340a728ab473a34670969fbeee.tar.bz2 fork-ledger-9e9f25b566987c340a728ab473a34670969fbeee.zip |
'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.
Diffstat (limited to 'balpair.h')
-rw-r--r-- | balpair.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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"); } |