mirror of
https://github.com/monero-project/monero.git
synced 2025-08-06 07:34:27 -04:00
clang: fix -Wrange-loop-analysis warnings
This commit is contained in:
parent
0a1ddc2eff
commit
451b5a510e
3 changed files with 4 additions and 4 deletions
|
@ -51,7 +51,7 @@ namespace test
|
|||
if (!cryptonote::find_tx_extra_field_by_type(extra_fields, key_field))
|
||||
throw std::runtime_error{"invalid transaction"};
|
||||
|
||||
for (auto const& input : boost::adaptors::index(source.vout))
|
||||
for (auto const input : boost::adaptors::index(source.vout))
|
||||
{
|
||||
source_amount += input.value().amount;
|
||||
auto const& key = boost::get<cryptonote::txout_to_key>(input.value().target);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue