mirror of
https://github.com/monero-project/monero.git
synced 2026-01-02 16:00:10 -08:00
Merge pull request #7688
451b5a5 clang: fix -Wrange-loop-analysis warnings (selsta)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user