mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
tidy: modernize-use-emplace
This commit is contained in:
parent
4a5aae9330
commit
fa05a726c2
47 changed files with 167 additions and 162 deletions
|
|
@ -1021,7 +1021,7 @@ void CCoinsViewMemPool::PackageAddTransaction(const CTransactionRef& tx)
|
|||
{
|
||||
for (unsigned int n = 0; n < tx->vout.size(); ++n) {
|
||||
m_temp_added.emplace(COutPoint(tx->GetHash(), n), Coin(tx->vout[n], MEMPOOL_HEIGHT, false));
|
||||
m_non_base_coins.emplace(COutPoint(tx->GetHash(), n));
|
||||
m_non_base_coins.emplace(tx->GetHash(), n);
|
||||
}
|
||||
}
|
||||
void CCoinsViewMemPool::Reset()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue