Added missing destructor.
This commit is contained in:
parent
6853db57e6
commit
08855980fa
1 changed files with 4 additions and 0 deletions
|
|
@ -46,6 +46,10 @@ class balance_t
|
||||||
amounts.insert(amounts_pair(&amt.commodity(), amt));
|
amounts.insert(amounts_pair(&amt.commodity(), amt));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
~balance_t() {
|
||||||
|
TRACE_DTOR(balance_t);
|
||||||
|
}
|
||||||
|
|
||||||
// assignment operator
|
// assignment operator
|
||||||
balance_t& operator=(const balance_t& bal) {
|
balance_t& operator=(const balance_t& bal) {
|
||||||
if (this != &bal) {
|
if (this != &bal) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue