summaryrefslogtreecommitdiff
path: root/src/value.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-30 16:19:31 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-30 16:19:31 -0400
commitf1257cbc3eaddc075dcb4f9ebff17e4ea416c4ed (patch)
treeee13fa7f7e046735b8a267bef0a3525ccb343b12 /src/value.h
parent94004358705b8fbfbb3b18226804820b1dca565e (diff)
downloadfork-ledger-f1257cbc3eaddc075dcb4f9ebff17e4ea416c4ed.tar.gz
fork-ledger-f1257cbc3eaddc075dcb4f9ebff17e4ea416c4ed.tar.bz2
fork-ledger-f1257cbc3eaddc075dcb4f9ebff17e4ea416c4ed.zip
Removed all dependency on gdtoa.
Diffstat (limited to 'src/value.h')
-rw-r--r--src/value.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/value.h b/src/value.h
index dbb83283..393ca3d3 100644
--- a/src/value.h
+++ b/src/value.h
@@ -78,14 +78,9 @@ class value_t
multiplicative<value_t, balance_pair_t,
multiplicative<value_t, balance_t,
ordered_field_operators<value_t, amount_t,
-#ifdef HAVE_GDTOA
ordered_field_operators<value_t, double,
-#endif
ordered_field_operators<value_t, unsigned long,
- ordered_field_operators<value_t, long> > > > > > > > > >
-#ifdef HAVE_GDTOA
- >
-#endif
+ ordered_field_operators<value_t, long> > > > > > > > > > >
{
public:
/**
@@ -288,12 +283,10 @@ public:
TRACE_CTOR(value_t, "const unsigned long");
set_amount(val);
}
-#ifdef HAVE_GDTOA
value_t(const double val) {
TRACE_CTOR(value_t, "const double");
set_amount(val);
}
-#endif
value_t(const amount_t& val) {
TRACE_CTOR(value_t, "const amount_t&");
set_amount(val);