mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
tidy: modernize-use-emplace
This commit is contained in:
parent
4a5aae9330
commit
fa05a726c2
47 changed files with 167 additions and 162 deletions
|
|
@ -854,7 +854,7 @@ std::vector<std::pair<AddrInfo, AddressPosition>> AddrManImpl::GetEntries_(bool
|
|||
/*multiplicity_in=*/from_tried ? 1 : info.nRefCount,
|
||||
bucket,
|
||||
position);
|
||||
infos.push_back(std::make_pair(info, location));
|
||||
infos.emplace_back(info, location);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue