Skip to content

Commit

Permalink
Use auto.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Jan 22, 2025
1 parent 37dbcef commit 41c4d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/bitcoin/database/impl/query/confirm.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ bool CLASS::set_strong(const header_link& link, const tx_links& txs,
// Preallocate all strong_tx records for the block and reuse memory ptr.
using namespace system;
using link_t = table::strong_tx::link;
const link_t records = possible_narrow_cast<link_t::integer>(txs.size());
const auto records = possible_narrow_cast<link_t::integer>(txs.size());
auto record = store_.strong_tx.allocate(records);
const auto ptr = store_.strong_tx.get_memory();

Expand Down

0 comments on commit 41c4d06

Please sign in to comment.