summaryrefslogtreecommitdiff
path: root/balpair.h
diff options
context:
space:
mode:
Diffstat (limited to 'balpair.h')
-rw-r--r--balpair.h2
1 files changed, 2 insertions, 0 deletions
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");
}