aboutsummaryrefslogtreecommitdiff
path: root/src/serialization/json_object.h
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 /src/serialization/json_object.h
parentMerge pull request #7669 (diff)
downloadmonero-451b5a510e115b450e383007c0d09deccb0d333b.tar.xz
clang: fix -Wrange-loop-analysis warnings
Diffstat (limited to '')
-rw-r--r--src/serialization/json_object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialization/json_object.h b/src/serialization/json_object.h
index de14c8911..35ea990b3 100644
--- a/src/serialization/json_object.h
+++ b/src/serialization/json_object.h
@@ -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();
}