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
|
|
@ -271,7 +271,7 @@ bool HeadersSyncState::ValidateAndStoreRedownloadedHeader(const CBlockHeader& he
|
|||
}
|
||||
|
||||
// Store this header for later processing.
|
||||
m_redownloaded_headers.push_back(header);
|
||||
m_redownloaded_headers.emplace_back(header);
|
||||
m_redownload_buffer_last_height = next_height;
|
||||
m_redownload_buffer_last_hash = header.GetHash();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue