Added some whitespace for clarity
This commit is contained in:
parent
8b3a75fbbf
commit
a3a40994d2
1 changed files with 2 additions and 0 deletions
|
|
@ -107,6 +107,7 @@ void amount_t::initialize(shared_ptr<commodity_pool_t> pool)
|
||||||
mpq_init(tempq);
|
mpq_init(tempq);
|
||||||
mpfr_init(tempf);
|
mpfr_init(tempf);
|
||||||
mpfr_init(tempfb);
|
mpfr_init(tempfb);
|
||||||
|
|
||||||
is_initialized = true;
|
is_initialized = true;
|
||||||
}
|
}
|
||||||
current_pool = pool;
|
current_pool = pool;
|
||||||
|
|
@ -126,6 +127,7 @@ void amount_t::shutdown()
|
||||||
mpq_clear(tempq);
|
mpq_clear(tempq);
|
||||||
mpfr_clear(tempf);
|
mpfr_clear(tempf);
|
||||||
mpfr_clear(tempfb);
|
mpfr_clear(tempfb);
|
||||||
|
|
||||||
is_initialized = false;
|
is_initialized = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue