mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 22:18:54 +01:00
tidy: modernize-use-emplace
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user