aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/json_serialization.cpp
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2021-04-27 05:21:16 +0200
committerselsta <selsta@sent.at>2021-04-27 05:30:27 +0200
commit451b5a510e115b450e383007c0d09deccb0d333b (patch)
treeba230bacc63061c25d7ed9bb34c17fe787c4dcde /tests/unit_tests/json_serialization.cpp
parentMerge pull request #7669 (diff)
downloadmonero-451b5a510e115b450e383007c0d09deccb0d333b.tar.xz
clang: fix -Wrange-loop-analysis warnings
Diffstat (limited to '')
-rw-r--r--tests/unit_tests/json_serialization.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/json_serialization.cpp b/tests/unit_tests/json_serialization.cpp
index f76199e57..9fa589139 100644
--- a/tests/unit_tests/json_serialization.cpp
+++ b/tests/unit_tests/json_serialization.cpp
@@ -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);