mirror of
https://github.com/monero-project/monero.git
synced 2025-07-31 08:18:42 -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
|
@ -365,7 +365,7 @@ inline typename std::enable_if<sfinae::is_vector_like<Vec>::value, void>::type t
|
|||
static_assert(!std::is_same<value_type, unsigned char>::value, "encoding an array of unsigned char is faster as hex");
|
||||
|
||||
dest.StartArray();
|
||||
for (const auto& t : vec)
|
||||
for (auto t : vec)
|
||||
toJsonValue(dest, t);
|
||||
dest.EndArray();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue