mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 14:08:40 +01:00
tidy: modernize-use-emplace
This commit is contained in:
@@ -798,7 +798,7 @@ static bool rest_getutxos(const std::any& context, HTTPRequest* req, const std::
|
||||
return RESTERR(req, HTTP_BAD_REQUEST, "Parse error");
|
||||
|
||||
txid.SetHex(strTxid);
|
||||
vOutPoints.push_back(COutPoint(txid, (uint32_t)nOutput));
|
||||
vOutPoints.emplace_back(txid, (uint32_t)nOutput);
|
||||
}
|
||||
|
||||
if (vOutPoints.size() > 0)
|
||||
|
||||
Reference in New Issue
Block a user