From 854b719f1ec704a7a84bee629bc759b25d19ca6f Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 11 Oct 2003 22:59:43 +0000 Subject: c --- amount.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'amount.cc') diff --git a/amount.cc b/amount.cc index 1f76d64f..dd2a3cc8 100644 --- a/amount.cc +++ b/amount.cc @@ -49,6 +49,10 @@ class gmp_amount : public amount return quantity_comm; } + virtual void set_commdty(commodity * comm) { + quantity_comm = comm; + } + virtual amount * copy() const; virtual amount * value(amount *) const; virtual amount * street(bool get_quotes) const; -- cgit v1.2.3