From ce4ed2b25cd4ead67a52cf42e05c7091aff9b3c7 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 21 May 2007 20:45:46 +0000 Subject: Getting things to compile again. --- src/numerics/balpair.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/numerics/balpair.h') diff --git a/src/numerics/balpair.h b/src/numerics/balpair.h index af1a25ab..4aa682fc 100644 --- a/src/numerics/balpair.h +++ b/src/numerics/balpair.h @@ -83,17 +83,6 @@ class balance_pair_t */ optional cost; - /** - * The `quantity' method provides direct access to the balance_t - * base-class part of the balance pair. - */ - balance_t& quantity() { - return *this; - } - const balance_t& quantity() const { - return *this; - } - friend class value_t; friend class entry_base_t; @@ -225,6 +214,17 @@ public: return quantity() == amt; } + /** + * The `quantity' method provides direct access to the balance_t + * base-class part of the balance pair. + */ + balance_t& quantity() { + return *this; + } + const balance_t& quantity() const { + return *this; + } + // unary negation void in_place_negate() { #if 0 -- cgit v1.2.3