Fix missing const ref
This commit is contained in:
parent
12f1164bfc
commit
13fa86fee3
@ -247,7 +247,7 @@ template <typename T, std::size_t N>
|
|||||||
struct convert<std::array<T, N>> {
|
struct convert<std::array<T, N>> {
|
||||||
static Node encode(const std::array<T, N>& rhs) {
|
static Node encode(const std::array<T, N>& rhs) {
|
||||||
Node node(NodeType::Sequence);
|
Node node(NodeType::Sequence);
|
||||||
for (auto element : rhs) {
|
for (const auto& element : rhs) {
|
||||||
node.push_back(element);
|
node.push_back(element);
|
||||||
}
|
}
|
||||||
return node;
|
return node;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user