*** no comment ***
This commit is contained in:
parent
7a965565cf
commit
770ef0e183
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ class balance_t
|
||||||
if (i != amounts.end())
|
if (i != amounts.end())
|
||||||
(*i).second -= amt;
|
(*i).second -= amt;
|
||||||
else if (amt)
|
else if (amt)
|
||||||
amounts.insert(amounts_pair(&amt.commodity(), amt));
|
amounts.insert(amounts_pair(&amt.commodity(), - amt));
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue