summaryrefslogtreecommitdiff
path: root/src/amount.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/amount.cc')
-rw-r--r--src/amount.cc10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/amount.cc b/src/amount.cc
index 1d1a3c36..9a1dd12b 100644
--- a/src/amount.cc
+++ b/src/amount.cc
@@ -60,17 +60,16 @@ struct amount_t::bigint_t : public supports_flags<>
mpq_t val;
precision_t prec;
uint_least16_t ref;
- uint_fast32_t index;
#define MP(bigint) ((bigint)->val)
- bigint_t() : prec(0), ref(1), index(0) {
+ bigint_t() : prec(0), ref(1) {
TRACE_CTOR(bigint_t, "");
mpq_init(val);
}
bigint_t(const bigint_t& other)
: supports_flags<>(other.flags() & ~BIGINT_BULK_ALLOC),
- prec(other.prec), ref(1), index(0) {
+ prec(other.prec), ref(1) {
TRACE_CTOR(bigint_t, "copy");
mpq_init(val);
mpq_set(val, other.val);
@@ -94,11 +93,6 @@ struct amount_t::bigint_t : public supports_flags<>
}
};
-uint_fast32_t amount_t::sizeof_bigint_t()
-{
- return sizeof(bigint_t);
-}
-
void amount_t::initialize()
{
mpz_init(temp);