mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
tidy: modernize-use-emplace
This commit is contained in:
@@ -29,7 +29,7 @@ struct TestVector {
|
||||
explicit TestVector(std::string strHexMasterIn) : strHexMaster(strHexMasterIn) {}
|
||||
|
||||
TestVector& operator()(std::string pub, std::string prv, unsigned int nChild) {
|
||||
vDerive.push_back(TestDerivation());
|
||||
vDerive.emplace_back();
|
||||
TestDerivation &der = vDerive.back();
|
||||
der.pub = pub;
|
||||
der.prv = prv;
|
||||
|
||||
Reference in New Issue
Block a user