mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
tidy: modernize-use-emplace
This commit is contained in:
parent
4a5aae9330
commit
fa05a726c2
47 changed files with 167 additions and 162 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue